Skip to content

Commit

Permalink
Merge pull request #4 from svetasmirnova/main
Browse files Browse the repository at this point in the history
Release workflow fixes
  • Loading branch information
svetasmirnova authored Dec 28, 2023
2 parents c78cbed + 46ce759 commit 13c47ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ^1.21.4
go-version: ^1.21

# Update references
- name: Git Sumbodule Update
Expand Down
2 changes: 1 addition & 1 deletion build
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function ldflags_pmm_dump {

function ldflags_pt {
CP=')'
VERSION=$(git log --no-walk --tags --pretty="%H %d" --decorate=short | head -n1 | awk -F'[, $(CP)]' '{ print $5; }')
VERSION=$(git log --no-walk --tags --pretty="%H %d" --decorate=short | head -n1 | awk -F'[, $(CP)]' '{ print $7; }')
BUILD=$(date "+%FT%T%z")
GOVERSION=$(go version | cut --delimiter=" " -f3)
COMMIT=$(git rev-list -1 HEAD)
Expand Down

0 comments on commit 13c47ce

Please sign in to comment.