Commit graph

18 commits

Author SHA1 Message Date
cacb97a22c
Allow running of bumptag with out signed commits or tags
By setting ALLOW_UNSIGNED_COMMITS_WITHOUT_TAGS you can bootstrap bumptag
on first startup of new repo
2023-12-04 14:24:34 +01:00
John Van de Meulebrouck Brendgard
21c0cad8a0
Consistently use [[ for if statements. 2023-11-16 12:12:36 +01:00
John Van de Meulebrouck Brendgard
dc1df6671c
Shellcheck needs to have the PAGER quoted
in order to correctly interpret the meaning
according to it's wiki.
2023-11-16 12:11:09 +01:00
John Van de Meulebrouck Brendgard
fd4523308f
Replaced 'egrep' that is now deprecated. 2023-11-16 12:09:02 +01:00
John Van de Meulebrouck Brendgard
cb9e1f8670
Added shellcheck exceptions for misplaced warning. 2023-11-16 12:07:10 +01:00
John Van de Meulebrouck Brendgard
5a47b1a3f7
Readded this_branch=$(git rev-parse --abbrev-ref HEAD)
since it wasn't included in change to check
against the current branch instead of master
2023-11-16 12:04:30 +01:00
John Van de Meulebrouck Brendgard
826b8edf82
Changed from [[ ! -z ... to [[ -n ... 2023-11-16 11:59:33 +01:00
John Van de Meulebrouck Brendgard
53c58b413e
Changed from if [[ ${?} ]] to if cmd 2023-11-16 11:56:49 +01:00
John Van de Meulebrouck Brendgard
8a7c85dcf0
Added bump-tag from nunoc-ops that has
multiple improvements and checks for
signed commits, makes sure that important
script are not tampered with and much more.
2023-11-15 14:02:49 +01:00
083d6eda83 bump-tag: Compare against current branch
Mariah pointed out that this was lost in:

6ac9294dea

And should be reinstated
2023-11-15 12:15:46 +01:00
6ac9294dea A newer bump-tag 2023-07-13 08:53:29 +02:00
397f0595f7
If the variable GITTAGEXTRA is double quoted we get issues.
Disable shellcheck for this instance
2023-05-15 14:29:05 +02:00
876e72e2ae
Make shfmt happy 2023-04-25 17:31:18 +02:00
3fd4791273
Make bump-tag branch agnostic 2023-04-25 17:19:18 +02:00
John Van de Meulebrouck Brendgard
55da5cd7ea
Included ft improvement to able to specify tag for bump-tag
Also changed from #!/bin/sh -> #!/bin/bash
since echo -e is not supported in sh
2016-08-28 17:12:10 +02:00
John Van de Meulebrouck Brendgard
b9ec2c8f69
Various improvements made to bump-tag at SUNET 2016-08-27 17:53:18 +02:00
Fredrik Aslund
c17a5a1a76 run git pull before any tag operation, if not pulled later push will fail anyway 2014-09-30 13:28:48 +02:00
b105c02eba bump-tag 2013-10-31 21:50:04 +01:00