Skip to content

Commit

Permalink
chore: workflow, fix version output by date
Browse files Browse the repository at this point in the history
  • Loading branch information
terasum committed Sep 16, 2023
1 parent 16ea13d commit fd40623
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ jobs:
- name: Get version tag (unix)
if: matrix.platform != 'windows-2019'
id: version
# run: echo "::set-output name=tag::${GITHUB_SHA}"
run: echo "::set-output name=tag::v-3.0.1-alpha-"$(date +%Y%m%d)"
run: |
export MEDICT_BUILD_VER="v-3.0.1-alpha-"$(date +%Y%m%d%H%M)
echo "::set-output name=tag::${MEDICT_BUILD_VER}"
- name: Inall pnpm
uses: pnpm/action-setup@v2
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/build-macos-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
- name: Get version tag (unix)
if: matrix.platform != 'windows-2019'
id: version
run: echo "::set-output name=tag::v-3.0.1-alpha-"$(date +%Y%m%d)"
run: |
export MEDICT_BUILD_VER="v-3.0.1-alpha-"$(date +%Y%m%d%H%M)
echo "::set-output name=tag::${MEDICT_BUILD_VER}"
- name: Inall pnpm
uses: pnpm/action-setup@v2
Expand Down

0 comments on commit fd40623

Please sign in to comment.