Use date as version
All checks were successful
Build / build (push) Successful in 33s

This commit is contained in:
Mathieu Strypsteen 2024-02-18 15:39:48 +01:00
parent 7f52254c6b
commit fc61e8bd65
4 changed files with 2 additions and 3 deletions

View file

@ -3,4 +3,5 @@ set -e
rm -rf out proxy-settings.crx
npx tsc
cp manifest.json ./*.html out
sed "s/{{DATE}}/$(date -u "+%Y.%m.%d")/" -i out/manifest.json
npx crx3 -p key.pem -o proxy-settings.crx out

View file

@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "Proxy Settings",
"version": "0.0.1",
"version": "{{DATE}}",
"action": {
"default_popup": "options.html"
},

1
package-lock.json generated
View file

@ -6,7 +6,6 @@
"packages": {
"": {
"name": "chromium-proxy-settings",
"version": "0.0.1",
"devDependencies": {
"@types/chrome": "^0.0.260",
"crx3": "^1.1.3",

View file

@ -1,6 +1,5 @@
{
"name": "chromium-proxy-settings",
"version": "0.0.1",
"type": "module",
"devDependencies": {
"@types/chrome": "^0.0.260",