Skip to content

Commit

Permalink
Merge pull request #107 from junnmm/add-a-prefix-v-to-tags
Browse files Browse the repository at this point in the history
action, add a prefix "v" to tags
  • Loading branch information
viaweb3 authored Mar 28, 2023
2 parents 30e06df + 2676ffe commit 3cc9598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Get the version from the binary
run: |
version_tag=$( $GITHUB_WORKSPACE/build/bin/geth version|egrep "^Version" |egrep -o '[0-9].*') && \
echo "version_tag=$version_tag" >> $GITHUB_ENV
echo "version_tag=v$version_tag" >> $GITHUB_ENV
- name: Push the tag
run: |
cd $GITHUB_WORKSPACE/kcc && git tag ${{ env.version_tag }} && git push origin ${{ env.version_tag }}
Expand Down

0 comments on commit 3cc9598

Please sign in to comment.