Skip to content

Commit 13c47ce

Browse files
Merge pull request #4 from svetasmirnova/main
Release workflow fixes
2 parents c78cbed + 46ce759 commit 13c47ce

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
fetch-depth: 0
1717

1818
- name: Set up Go
19-
uses: actions/setup-go@v4
19+
uses: actions/setup-go@v5
2020
with:
21-
go-version: ^1.21.4
21+
go-version: ^1.21
2222

2323
# Update references
2424
- name: Git Sumbodule Update

build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function ldflags_pmm_dump {
1818

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

0 commit comments

Comments
 (0)