mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
github:tagname
This commit is contained in:
parent
9a565d583a
commit
6712e6cf96
2
.github/workflows/AutoTag.yml
vendored
2
.github/workflows/AutoTag.yml
vendored
|
@ -40,7 +40,7 @@ jobs:
|
||||||
id: vars
|
id: vars
|
||||||
run: |
|
run: |
|
||||||
echo "::set-output name=sha_short::$(git rev-parse --short=8 HEAD)"
|
echo "::set-output name=sha_short::$(git rev-parse --short=8 HEAD)"
|
||||||
echo "::set-output name=release_hm::$(date +'%y%m%d%H%M')"
|
echo "::set-output name=release_hm::$(date +'%y%m%d')"
|
||||||
- name: Bump version and push tag
|
- name: Bump version and push tag
|
||||||
id: tag_version
|
id: tag_version
|
||||||
uses: mathieudutour/github-tag-action@v6.0
|
uses: mathieudutour/github-tag-action@v6.0
|
||||||
|
|
2
.github/workflows/macos-6.2.yml
vendored
2
.github/workflows/macos-6.2.yml
vendored
|
@ -99,7 +99,7 @@ jobs:
|
||||||
echo "::set-output name=release_date::$(date +'%Y%m%d')"
|
echo "::set-output name=release_date::$(date +'%Y%m%d')"
|
||||||
echo "::set-output name=release_time::$(date +'%H%M%S')"
|
echo "::set-output name=release_time::$(date +'%H%M%S')"
|
||||||
echo "::set-output name=release_time_clock::$(date +'%H:%M:%S')"
|
echo "::set-output name=release_time_clock::$(date +'%H:%M:%S')"
|
||||||
echo "::set-output name=release_hm::$(date +'%y%m%d%H%M')"
|
echo "::set-output name=release_hm::$(date +'%y%m%d')"
|
||||||
previousTag=$(git tag --sort=-creatordate | sed -n 2p)
|
previousTag=$(git tag --sort=-creatordate | sed -n 2p)
|
||||||
echo "previousTag : $previousTag"
|
echo "previousTag : $previousTag"
|
||||||
|
|
||||||
|
|
2
.github/workflows/macos-m1.yml
vendored
2
.github/workflows/macos-m1.yml
vendored
|
@ -104,7 +104,7 @@ jobs:
|
||||||
echo "::set-output name=release_date::$(date +'%Y%m%d')"
|
echo "::set-output name=release_date::$(date +'%Y%m%d')"
|
||||||
echo "::set-output name=release_time::$(date +'%H%M%S')"
|
echo "::set-output name=release_time::$(date +'%H%M%S')"
|
||||||
echo "::set-output name=release_time_clock::$(date +'%H:%M:%S')"
|
echo "::set-output name=release_time_clock::$(date +'%H:%M:%S')"
|
||||||
echo "::set-output name=release_hm::$(date +'%y%m%d%H%M')"
|
echo "::set-output name=release_hm::$(date +'%y%m%d')"
|
||||||
# tag 上传Release
|
# tag 上传Release
|
||||||
# - name: uploadRelease
|
# - name: uploadRelease
|
||||||
# uses: svenstaro/upload-release-action@v2
|
# uses: svenstaro/upload-release-action@v2
|
||||||
|
|
2
.github/workflows/macos.yml
vendored
2
.github/workflows/macos.yml
vendored
|
@ -101,7 +101,7 @@ jobs:
|
||||||
echo "::set-output name=release_date::$(date +'%Y%m%d')"
|
echo "::set-output name=release_date::$(date +'%Y%m%d')"
|
||||||
echo "::set-output name=release_time::$(date +'%H%M%S')"
|
echo "::set-output name=release_time::$(date +'%H%M%S')"
|
||||||
echo "::set-output name=release_time_clock::$(date +'%H:%M:%S')"
|
echo "::set-output name=release_time_clock::$(date +'%H:%M:%S')"
|
||||||
echo "::set-output name=release_hm::$(date +'%y%m%d%H%M')"
|
echo "::set-output name=release_hm::$(date +'%y%m%d')"
|
||||||
previousTag=$(git tag --sort=-creatordate | sed -n 2p)
|
previousTag=$(git tag --sort=-creatordate | sed -n 2p)
|
||||||
echo "previousTag : $previousTag"
|
echo "previousTag : $previousTag"
|
||||||
|
|
||||||
|
|
2
.github/workflows/ubuntu-6.2.yml
vendored
2
.github/workflows/ubuntu-6.2.yml
vendored
|
@ -95,7 +95,7 @@ jobs:
|
||||||
echo "::set-output name=release_time::$(date +'%H%M%S')"
|
echo "::set-output name=release_time::$(date +'%H%M%S')"
|
||||||
echo "::set-output name=release_time_clock::$(date +'%H:%M:%S')"
|
echo "::set-output name=release_time_clock::$(date +'%H:%M:%S')"
|
||||||
echo "::set-output name=appname::$(ls *.AppImage*)"
|
echo "::set-output name=appname::$(ls *.AppImage*)"
|
||||||
echo "::set-output name=release_hm::$(date +'%y%m%d%H%M')"
|
echo "::set-output name=release_hm::$(date +'%y%m%d')"
|
||||||
previousTag=$(git tag --sort=-creatordate | sed -n 2p)
|
previousTag=$(git tag --sort=-creatordate | sed -n 2p)
|
||||||
echo "previousTag : $previousTag"
|
echo "previousTag : $previousTag"
|
||||||
|
|
||||||
|
|
2
.github/workflows/ubuntu.yml
vendored
2
.github/workflows/ubuntu.yml
vendored
|
@ -92,7 +92,7 @@ jobs:
|
||||||
echo "::set-output name=release_time::$(date +'%H%M%S')"
|
echo "::set-output name=release_time::$(date +'%H%M%S')"
|
||||||
echo "::set-output name=release_time_clock::$(date +'%H:%M:%S')"
|
echo "::set-output name=release_time_clock::$(date +'%H:%M:%S')"
|
||||||
echo "::set-output name=appname::$(ls *.AppImage*)"
|
echo "::set-output name=appname::$(ls *.AppImage*)"
|
||||||
echo "::set-output name=release_hm::$(date +'%y%m%d%H%M')"
|
echo "::set-output name=release_hm::$(date +'%y%m%d')"
|
||||||
previousTag=$(git tag --sort=-creatordate | sed -n 2p)
|
previousTag=$(git tag --sort=-creatordate | sed -n 2p)
|
||||||
echo "previousTag : $previousTag"
|
echo "previousTag : $previousTag"
|
||||||
|
|
||||||
|
|
2
.github/workflows/windows-6.2.yml
vendored
2
.github/workflows/windows-6.2.yml
vendored
|
@ -78,7 +78,7 @@ jobs:
|
||||||
echo "::set-output name=release_date::$(date +'%Y%m%d')"
|
echo "::set-output name=release_date::$(date +'%Y%m%d')"
|
||||||
echo "::set-output name=release_time::$(date +'%H%M%S')"
|
echo "::set-output name=release_time::$(date +'%H%M%S')"
|
||||||
echo "::set-output name=release_time_clock::$(date +'%H:%M:%S')"
|
echo "::set-output name=release_time_clock::$(date +'%H:%M:%S')"
|
||||||
echo "::set-output name=release_hm::$(date +'%y%m%d%H%M')"
|
echo "::set-output name=release_hm::$(date +'%y%m%d')"
|
||||||
previousTag=$(git tag --sort=-creatordate | sed -n 2p)
|
previousTag=$(git tag --sort=-creatordate | sed -n 2p)
|
||||||
echo "previousTag : $previousTag"
|
echo "previousTag : $previousTag"
|
||||||
|
|
||||||
|
|
2
.github/workflows/windows.yml
vendored
2
.github/workflows/windows.yml
vendored
|
@ -74,7 +74,7 @@ jobs:
|
||||||
echo "::set-output name=release_date::$(date +'%Y%m%d')"
|
echo "::set-output name=release_date::$(date +'%Y%m%d')"
|
||||||
echo "::set-output name=release_time::$(date +'%H%M%S')"
|
echo "::set-output name=release_time::$(date +'%H%M%S')"
|
||||||
echo "::set-output name=release_time_clock::$(date +'%H:%M:%S')"
|
echo "::set-output name=release_time_clock::$(date +'%H:%M:%S')"
|
||||||
echo "::set-output name=release_hm::$(date +'%y%m%d%H%M')"
|
echo "::set-output name=release_hm::$(date +'%y%m%d')"
|
||||||
previousTag=$(git tag --sort=-creatordate | sed -n 2p)
|
previousTag=$(git tag --sort=-creatordate | sed -n 2p)
|
||||||
echo "previousTag : $previousTag"
|
echo "previousTag : $previousTag"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue