Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
rcfiles
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nimrod
rcfiles
Commits
95e3c870
Commit
95e3c870
authored
8 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
- Added bump shell function to codify the version bump process.
parent
733c3742
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.bashrc
+6
-0
6 additions, 0 deletions
.bashrc
.gitconfig
+1
-1
1 addition, 1 deletion
.gitconfig
with
7 additions
and
1 deletion
.bashrc
+
6
−
0
View file @
95e3c870
...
...
@@ -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"
This diff is collapsed.
Click to expand it.
.gitconfig
+
1
−
1
View file @
95e3c870
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment