Skip to content

Commit d87d06c

Browse files
committed
build: switch workflows and release scripts to v2.x
1 parent cab3a2e commit d87d06c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ on:
33
push:
44
branches:
55
- main
6+
- v1.x
67
- v2.x
78
pull_request:
89
branches:
910
- main
10-
- v2.x
1111

1212
jobs:
1313
stylua-check:

.github/workflows/protect_release_branches.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
pull_request:
99
branches:
1010
- 'v1.x'
11-
# - 'v2.x'
11+
- 'v2.x'
1212

1313
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1414
jobs:

release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#/bin/bash
22
VERSION=$1
3-
MAJOR_VERSION="v1.x"
3+
MAJOR_VERSION="v2.x"
44
git fetch
55
git checkout main
66
git pull

0 commit comments

Comments
 (0)