瀏覽代碼

Manually push lesspass-webextension

pull/612/head
Guillaume Vincent 3 年之前
父節點
當前提交
39b7beaa95
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. +2
    -3
      bin/build_web_extensions

+ 2
- 3
bin/build_web_extensions 查看文件

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


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

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/extension/manifest.json
build
commit_and_push
commit

Loading…
取消
儲存