Commit e3f74386 authored by nimrod's avatar nimrod
Browse files

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

parent e6ca9714
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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"
+1 −1
Original line number Diff line number Diff line
@@ -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