Skip to content

Commit

Permalink
build: attempt to add versioning flow
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjo committed Oct 10, 2023
1 parent 5e3a80e commit 356057d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ jobs:
generate-job-summary: true
dependency-graph: generate-and-submit
- name: Install SVU
env:
GOBIN: /usr/bin
run: go install github.com/caarlos0/svu@00b733b056534c0fbdb316bbd37c023e7bb80905 #v1.11.0
- name: Determine version
run: ls -al && echo "PROJECT_VERSION=$(svu --build ${{ github.run_attempt }})" >> "$GITHUB_ENV"
run: ls -al /usr/bin/ && echo "PROJECT_VERSION=$(svu --build ${{ github.run_attempt }})" >> "$GITHUB_ENV"
- run: 'echo "Determined version: $PROJECT_VERSION"'
- name: Build
env:
Expand Down

0 comments on commit 356057d

Please sign in to comment.