Fix: APP_VERSION 1.1.1 in app.js + Makefile aktualisiert APP_VERSION bei release, SW by-v546
This commit is contained in:
parent
4df95bbe8b
commit
ad988db25e
3 changed files with 5 additions and 4 deletions
3
Makefile
3
Makefile
|
|
@ -138,7 +138,8 @@ release: check-ssh
|
|||
@git checkout main
|
||||
@git merge develop --no-ff -m "Release v$(VERSION)"
|
||||
@sed -i '' 's/"version": "[^"]*"/"version": "$(VERSION)"/' backend/static/manifest.json
|
||||
@git add backend/static/manifest.json
|
||||
@sed -i '' "s/const APP_VERSION = '[^']*'/const APP_VERSION = '$(VERSION)'/" backend/static/js/app.js
|
||||
@git add backend/static/manifest.json backend/static/js/app.js
|
||||
@git commit --amend --no-edit
|
||||
@git tag "v$(VERSION)"
|
||||
@git push $(GIT_REMOTE) main --tags
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue