Skip to content

Commit

Permalink
workflow: fetch all in each step
Browse files Browse the repository at this point in the history
  • Loading branch information
prvashisht committed Jun 10, 2024
1 parent 47b71c2 commit 0c5c10a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release-extension.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,10 @@ jobs:

- name: Update firefox branch
run: |
git fetch --all
git checkout firefox
git rebase main -X theirs
git push origin origin/firefox --force
git push origin firefox --force
create_release:
runs-on: ubuntu-latest
Expand All @@ -126,13 +127,13 @@ jobs:

- name: Zip Chromium extension
run: |
git fetch --all
git checkout main
VERSION=${{ needs.check_version.outputs.new_version }}
zip -r ../signature-sync-chrome-${VERSION}.zip . -x '.*' -x '__MACOSX' -x '*.md'
- name: Zip Firefox extension
run: |
git branch
exit 0
git checkout firefox
VERSION=${{ needs.check_version.outputs.new_version }}
zip -r ../signature-sync-firefox-${VERSION}.zip . -x '.*' -x '__MACOSX' -x '*.md'
Expand Down

0 comments on commit 0c5c10a

Please sign in to comment.