Skip to content

Commit

Permalink
make version string from github.ref
Browse files Browse the repository at this point in the history
  • Loading branch information
uzulla committed Mar 14, 2021
1 parent 174c0c9 commit 4ab4802
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ jobs:
- name: create version file
run: |
cd dist_zip && echo ${{ github.ref }} > fc2blog/app/version
VERSION=$(echo ${{ github.ref }} | sed -e "s#refs/tags/##g")
cd dist_zip && echo $VERSION > fc2blog/app/version
- name: make zip
run: |
Expand Down

0 comments on commit 4ab4802

Please sign in to comment.