Skip to content

Commit ccd82a3

Browse files
committed
Fetch branches before building firefox zip
1 parent 863b1ff commit ccd82a3

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

.github/workflows/release-extension.yaml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ jobs:
118118
119119
- name: Zip Firefox extension
120120
run: |
121-
git checkout firefox
121+
git fetch all
122+
git checkout origin/firefox
122123
VERSION=${{ needs.check_version.outputs.new_version }}
123124
zip -r ../signature-sync-firefox-${VERSION}.zip . -x '.*' -x '__MACOSX' -x '*.md'
124125
@@ -134,15 +135,15 @@ jobs:
134135
name: signature-sync-firefox
135136
path: ../signature-sync-firefox-${{ needs.check_version.outputs.new_version }}.zip
136137

137-
# create_release:
138-
# runs-on: ubuntu-latest
139-
# needs:
140-
# - check_version
141-
# - update_files
142-
# - build_zips
143-
# steps:
144-
# - name: Checkout repository
145-
# uses: actions/checkout@v3
138+
create_release:
139+
runs-on: ubuntu-latest
140+
needs:
141+
- check_version
142+
- update_files
143+
- build_zips
144+
steps:
145+
- name: Checkout repository
146+
uses: actions/checkout@v3
146147

147148
# - name: Create GitHub Release
148149
# id: create_release

0 commit comments

Comments
 (0)