Skip to content

Commit bc7e5f2

Browse files
committed
fix github ci branch name from main to master
1 parent 30c7840 commit bc7e5f2

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: CI/CD Pipeline
33
on:
44
push:
55
branches:
6-
- main
6+
- master
77
pull_request:
88
branches:
9-
- main
9+
- master
1010

1111
jobs:
1212
verify-version:
@@ -33,7 +33,7 @@ jobs:
3333
echo "Previous version was ${PREVIOUS_VERSION}"
3434
3535
# fail if version wasn't incremented (only on main branch)
36-
if [ "${{ github.ref }}" = "refs/heads/main" ]; then
36+
if [ "${{ github.ref }}" = "refs/heads/master" ]; then
3737
if [ "$CURRENT_VERSION" = "$PREVIOUS_VERSION" ]; then
3838
echo "ERROR: Version was not incremented! Please ensure the pre-commit hook ran."
3939
echo "Current: $CURRENT_VERSION, Previous: $PREVIOUS_VERSION"
@@ -109,7 +109,7 @@ jobs:
109109
name: Package Chrome Extension
110110
runs-on: ubuntu-latest
111111
needs: [verify-version, build]
112-
if: github.ref == 'refs/heads/main'
112+
if: github.ref == 'refs/heads/master'
113113
steps:
114114
- name: Download Chrome build
115115
uses: actions/download-artifact@v4
@@ -135,7 +135,7 @@ jobs:
135135
name: Package Firefox Extension
136136
runs-on: ubuntu-latest
137137
needs: [verify-version, build]
138-
if: github.ref == 'refs/heads/main'
138+
if: github.ref == 'refs/heads/master'
139139
steps:
140140
- name: Download Firefox build
141141
uses: actions/download-artifact@v4
@@ -172,7 +172,7 @@ jobs:
172172
name: Create Release
173173
runs-on: ubuntu-latest
174174
needs: [verify-version, package-chrome, package-firefox]
175-
if: github.ref == 'refs/heads/main'
175+
if: github.ref == 'refs/heads/master'
176176
permissions:
177177
contents: write
178178
steps:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "xblockorigin",
3-
"version": "21.0.0",
3+
"version": "22.0.0",
44
"type": "module",
55
"scripts": {
66
"postinstall": "bun run setup-hooks",

0 commit comments

Comments
 (0)