Skip to content

Commit

Permalink
set up version
Browse files Browse the repository at this point in the history
  • Loading branch information
mhewedy committed Apr 27, 2020
1 parent 6bd3fb9 commit dee8039
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:
- name: Set Version
if: startsWith(github.ref, 'refs/tags/')
run: echo 'package cli\n\nconst version = "'${{ steps.get_version.outputs.VERSION }}'"' > cli/version.go
run: |
echo 'package cli
const version = "${{ steps.get_version.outputs.VERSION }}"' > cli/version.go
- name: Build
run: |
Expand Down

0 comments on commit dee8039

Please sign in to comment.