Skip to content

Commit d3acf86

Browse files
authored
fix: sw.js in workflow
1 parent 2468cc3 commit d3acf86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Update version in sw.js
4444
run: |
4545
sed -i "s/const CACHE_NAME = 'chemediaho-v[^']*'/const CACHE_NAME = 'chemediaho-v${{ inputs.version }}'/" frontend/sw.js
46-
grep "CACHE_NAME" static/sw.js
46+
grep "CACHE_NAME" frontend/sw.js
4747
4848
- name: Get last release tag
4949
id: last_release
@@ -155,7 +155,7 @@ jobs:
155155
run: |
156156
git config user.name "github-actions[bot]"
157157
git config user.email "github-actions[bot]@users.noreply.github.com"
158-
git add app.py static/sw.js
158+
git add app.py frontend/sw.js
159159
git commit -m "chore: bump version to ${{ inputs.version }}"
160160
git push origin main
161161

0 commit comments

Comments
 (0)