Permalink
Browse files

Push tag right here.

  • Loading branch information...
Andersbakken committed Sep 25, 2018
1 parent baf1218 commit be00ba5cd3cd10d6aaeff70f6fc719d5f1b92935
Showing with 2 additions and 1 deletion.
  1. +2 −1 scripts/bump-version.sh
View
@@ -21,5 +21,6 @@ $SED -i"" -e "s,^set(RTAGS_VERSION_MAJOR [0-9]\+),set(RTAGS_VERSION_MAJOR $MAJOR
$SED -i"" -e "s,^(defconst rtags-package-version \"[0-9]\+\.[0-9]\+\"),(defconst rtags-package-version \"${MAJOR}.${MINOR}\")," "$DIR/../src/rtags.el"
$SED -i"" -e "s,https://andersbakken\.github\.io/rtags-releases/rtags-[0-9]\+\.[0-9]\+\.tar\.,https://andersbakken.github.io/rtags-releases/rtags-$MAJOR.$MINOR.tar.,g" "$DIR/../README.org"
git commit -m "Bump version to ${MAJOR}.${MINOR}" $DIR/../README.org $DIR/../CMakeLists.txt $DIR/../src/rtags.el
git commit -m "Bump version to ${MAJOR}.${MINOR}" $DIR/../README.org $DIR/../CMakeLists.txt $DIR/../src/rtags.el
git tag "v${MAJOR}.${MINOR}"
git push --tags

0 comments on commit be00ba5

Please sign in to comment.