aboutsummaryrefslogtreecommitdiff
path: root/tools/release
blob: 065b5ce0209f2133f2c742d2715eef71579bf447 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

if [[ -n "$1" ]]; then
  set -xe
  sed -i "s/version=.*/version=$1/" ./aur
  make -B
  git add .
  git commit -m "chore: bump version"
  git tag -a "v$1" -m "aur v$1"
else
  echo "No version argument passed."
  exit 1
fi