Skip to content

Commit 7f38f86

Browse files
authored
Tag main branch on successful push (#442)
This PR configures a GitHub action that will tag the `main` branch on successful push. The tag is the current release version with the `patch` version incremented. Major and minor version number remain the same as the last release. https://github.com/squareup/pranadb-internal/issues/28
1 parent 086a447 commit 7f38f86

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,10 @@ jobs:
3333
run: make -C protos lint
3434
- name: Test
3535
run: go test -race -count=1 -timeout 1h -failfast -p 1 -tags integration ./...
36+
- name: Bump version and push tag
37+
id: bump_version
38+
uses: anothrNick/github-tag-action@1.39.0
39+
env:
40+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
WITH_V: true
42+
DEFAULT_BUMP: patch

0 commit comments

Comments
 (0)