diff options
author | Britney Fransen <brfransen@gmail.com> | 2019-04-12 20:12:05 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2019-04-12 20:12:05 (GMT) |
commit | c8044aafe5572523ad0ba21a123cd4a6d677c5fa (patch) | |
tree | b6c52b6cb83ebc71b9baaedd0c377d1cc87fffde /abs/extra/google-chrome/update_version.sh | |
parent | 73cfb83a5baecfe0529fda59ca57233d8843f783 (diff) | |
parent | f9636cc3fd81130d36809a8f83107a0e2a50ebce (diff) | |
download | linhes_pkgbuild-c8044aafe5572523ad0ba21a123cd4a6d677c5fa.zip linhes_pkgbuild-c8044aafe5572523ad0ba21a123cd4a6d677c5fa.tar.gz linhes_pkgbuild-c8044aafe5572523ad0ba21a123cd4a6d677c5fa.tar.bz2 |
Diffstat (limited to 'abs/extra/google-chrome/update_version.sh')
-rwxr-xr-x | abs/extra/google-chrome/update_version.sh | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/abs/extra/google-chrome/update_version.sh b/abs/extra/google-chrome/update_version.sh index 0a11328..2a48b8f 100755 --- a/abs/extra/google-chrome/update_version.sh +++ b/abs/extra/google-chrome/update_version.sh @@ -3,7 +3,7 @@ set -euxo pipefail # Get channel CHANNEL=$(awk -F '=' '/^_channel/{ print $2 }' PKGBUILD) -PKG="google-chrome-${CHANNEL}" +PKG="google-chrome" # Get latest version VER=$(curl -sL "https://dl.google.com/linux/chrome/rpm/stable/x86_64/repodata/other.xml.gz" | gzip -df | @@ -24,8 +24,11 @@ if (git diff --exit-code PKGBUILD); then fi # Update .SRCINFO -makepkg --printsrcinfo >.SRCINFO +#makepkg --printsrcinfo >.SRCINFO + +# Build +mpv2.py --rmold # Commit changes -git add PKGBUILD .SRCINFO -git commit -m "${PKG} v${VER}" +git add PKGBUILD +git commit -m "${PKG}: update to v${VER}" |