Skip to content

Commit

Permalink
debugging versions
Browse files Browse the repository at this point in the history
  • Loading branch information
LandonTClipp committed Jan 2, 2025
1 parent f018fb3 commit f846fa4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/tag-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
set +e
task -x tag 1>/tmp/versions.txt
printf "versions: $(cat /tmp/versions.txt)\n"
echo "requested_version=$(cut -d',' -f 1 /tmp/versions.txt)" >> $GITHUB_OUTPUT
echo "previous_version=$(cut -d',' -f 2 /tmp/versions.txt)" >> $GITHUB_OUTPUT
Expand Down
2 changes: 1 addition & 1 deletion tools/cmd/tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (t *Tagger) createTag(repo *git.Repository, version string) error {
majorVersion := strings.Split(version, ".")[0]
for _, v := range []string{version, majorVersion} {
if err := repo.DeleteTag(v); err != nil {
logger.Warn().Err(err).Msg("failed to delete tag, might be okay.")
logger.Warn().Err(err).Str("tag", v).Msg("failed to delete tag, might be okay.")
}
_, err = repo.CreateTag(v, hash.Hash(), &git.CreateTagOptions{
Tagger: &object.Signature{
Expand Down

0 comments on commit f846fa4

Please sign in to comment.