Compare commits
2 Commits
1c32a78c0b
...
e5d3aec15f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e5d3aec15f | ||
|
|
dbbe0cae04 |
@@ -21,7 +21,7 @@ jobs:
|
||||
- name: web-ext lint
|
||||
run: npx web-ext lint -v
|
||||
|
||||
- name: Increment Version and Push
|
||||
- name: Increment Version and Commit
|
||||
if: github.event_name == 'push' # Only push back on actual merges/pushes, not PRs
|
||||
run: |
|
||||
# 1. Increment logic
|
||||
@@ -42,10 +42,9 @@ jobs:
|
||||
git config --local user.email "space@reversed.dev"
|
||||
git config --local user.name "space"
|
||||
|
||||
# 3. Commit and Push
|
||||
# 3. Commit (push will be done after publish)
|
||||
git add manifest.json package.json
|
||||
git commit -m "chore: bump version to $NEW_VERSION [skip ci]"
|
||||
git push
|
||||
|
||||
- name: web-ext build
|
||||
run: npx web-ext build -s . -a dist --overwrite-dest
|
||||
@@ -66,5 +65,8 @@ jobs:
|
||||
--api-secret ${{ secrets.MOZILLA_ADDON_API_SECRET }} \
|
||||
--channel listed \
|
||||
--source-dir dist \
|
||||
--artifacts-dir dist \
|
||||
--overwrite-dest
|
||||
--artifacts-dir dist
|
||||
|
||||
- name: Push changes
|
||||
if: github.event_name == 'push'
|
||||
run: git push
|
||||
|
||||
Reference in New Issue
Block a user