Skip to content

Commit

Permalink
build: try to set release version so it works on windowns
Browse files Browse the repository at this point in the history
  • Loading branch information
bojand committed May 11, 2020
1 parent bb357e2 commit 89a5a3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ jobs:
id: current-time

- name: Set version
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF/refs\/tags\//}
# run: echo "::set-env name=RELEASE_VERSION::${GITHUB_REF/refs\/tags\//}"
run: echo "::set-env name=RELEASE_VERSION::$(git describe --tags $(git rev-list --tags --max-count=1))"

- name: Build ghz
run: |
Expand Down

0 comments on commit 89a5a3a

Please sign in to comment.