Browse Source

Manually push lesspass-webextension

pull/612/head
Guillaume Vincent 3 years ago
parent
commit
39b7beaa95
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      bin/build_web_extensions

+ 2
- 3
bin/build_web_extensions View File

@@ -97,10 +97,9 @@ function build {
} }




function commit_and_push {
function commit {
git add . git add .
git commit --message="Auto build for lesspass-web-extension" git commit --message="Auto build for lesspass-web-extension"
git push
} }


current_version=$( grep -Po '(?<="version": ")[^"]*' packages/lesspass-web-extension/package.json ) current_version=$( grep -Po '(?<="version": ")[^"]*' packages/lesspass-web-extension/package.json )
@@ -113,4 +112,4 @@ sed -i -E "s/\"lesspass-pure\": \"([0-9]+)\.([0-9]+)\.([0-9]+)\"/\"lesspass-pure
sed -i -E "s/\"version\": \"([0-9]+)\.([0-9]+)\.([0-9]+)\"/\"version\": \"${new_version}\"/g" packages/lesspass-web-extension/package.json sed -i -E "s/\"version\": \"([0-9]+)\.([0-9]+)\.([0-9]+)\"/\"version\": \"${new_version}\"/g" packages/lesspass-web-extension/package.json
sed -i -E "s/\"version\": \"([0-9]+)\.([0-9]+)\.([0-9]+)\"/\"version\": \"${new_version}\"/g" packages/lesspass-web-extension/extension/manifest.json sed -i -E "s/\"version\": \"([0-9]+)\.([0-9]+)\.([0-9]+)\"/\"version\": \"${new_version}\"/g" packages/lesspass-web-extension/extension/manifest.json
build build
commit_and_push
commit

Loading…
Cancel
Save