summarylogtreecommitdiffstats
path: root/publish.sh
blob: 030d2b277ecc4a4dc50b2d25864bd1416c7b8c56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

prev_version=$1
new_version=$2

# Replace version
sed -i "s/$prev_version/$new_version/g" ./PKGBUILD

# Print SRCINFO
makepkg --printsrcinfo > .SRCINFO

git add -A && git commit -m "deploy $new_version version"
git push origin master