Skip to content
Snippets Groups Projects
Commit 95e3c870 authored by nimrod's avatar nimrod
Browse files

- Added bump shell function to codify the version bump process.

parent 733c3742
Branches
No related tags found
No related merge requests found
......@@ -162,5 +162,11 @@ ddg () {
lynx "https://duckduckgo.com/lite/?q=$(echo "$@" | urlencode)"
}
bump () {
semver-bump "$1-release" && \
git commit VERSION -m"- Bumped $1 version." && \
git tag-version
}
# shellcheck disable=SC1090
. "$HOME/Documents/Shore/bundle_certs/bundle_certs"
......@@ -19,7 +19,7 @@
serve-http = !git update-server-info && cd .git && python -m SimpleHTTPServer
staash = stash --all
stat = status --short --branch
tag-version = !git tag -af "v$(cat VERSION)"
tag-version = !git tag --annotate --force --message "v$(cat VERSION)" "v$(cat VERSION)"
tracking = rev-parse --abbrev-ref --symbolic-full-name @{upstream}
trigger = !git commit --allow-empty --no-edit --amend && git push --force-with-lease
update-requirements = !git stash save -a -u -q && ( git ls-files '*requirements*.txt' | xargs -n1 pur -r ) && ( git commit -a -m '- Updated requirements.' || echo 'No requirements updated.' ) && git stash pop
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment