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 ac26ec4 commit 5e3a80e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- master
- ci
pull_request:
branches:
- master
Expand Down Expand Up @@ -39,9 +38,9 @@ jobs:
generate-job-summary: true
dependency-graph: generate-and-submit
- name: Install SVU
run: go install github.com/caarlos0/svu@00b733b056534c0fbdb316bbd37c023e7bb80905
run: go install github.com/caarlos0/svu@00b733b056534c0fbdb316bbd37c023e7bb80905 #v1.11.0
- name: Determine version
run: echo "PROJECT_VERSION=$($GOPATH/bin/svu --build ${{ github.run_attempt }})" >> "$GITHUB_ENV"
run: ls -al && 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 5e3a80e

Please sign in to comment.