Skip to content

Commit deb9150

Browse files
authored
ci: fix pushing tags in release jobs (#134)
1 parent e987235 commit deb9150

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

.github/workflows/release-lakebase.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ on:
1414
type: boolean
1515
default: false
1616

17+
concurrency:
18+
group: release
19+
cancel-in-progress: false
20+
1721
jobs:
1822
release:
1923
runs-on:

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
branches:
66
- main
7+
paths-ignore:
8+
- 'packages/lakebase/**'
79
workflow_dispatch:
810
inputs:
911
dry-run:
@@ -12,6 +14,10 @@ on:
1214
type: boolean
1315
default: false
1416

17+
concurrency:
18+
group: release
19+
cancel-in-progress: false
20+
1521
jobs:
1622
release:
1723
runs-on:

tools/publish-template-tag.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ if (installExit !== 0) {
7777
const commands: [string, string[]][] = [
7878
["git", ["add", "template/package.json", "template/package-lock.json"]],
7979
["git", ["commit", "-m", `"chore: sync template to v${version} [skip ci]"`]],
80-
["git", ["tag", `template-v${version}`]],
80+
["git", ["tag", "-a", `template-v${version}`, "-m", `Template v${version}`]],
8181
["git", ["push", "origin", "main", "--follow-tags"]],
8282
];
8383

0 commit comments

Comments
 (0)