Skip to content

Commit 51aa219

Browse files
committed
chore: enable publishing pkg/test module
1 parent 6e8a7a7 commit 51aa219

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release-pr.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ jobs:
5858
5959
git commit -m "prepare for next release (v${NEXT_VERSION})"
6060
61+
# Update go module dependencies
6162
pushd ./pkg/test
6263
go get -u "github.com/aaronfriel/go-change@v${VERSION}"
6364
go mod tidy
@@ -66,7 +67,10 @@ jobs:
6667
6768
git commit -m "Update dependencies"
6869
69-
git push -u origin HEAD --force
70+
# Publish Go module on another tag
71+
git tag "pkg/test/v${VERSION}"
72+
git push origin "pkg/test/v${VERSION}"
73+
git push -u origin HEAD
7074
7175
gh pr create \
7276
--title "prepare for next release (v${NEXT_VERSION})" \

0 commit comments

Comments
 (0)