Skip to content
This repository was archived by the owner on Jul 28, 2022. It is now read-only.

Commit faec9c8

Browse files
Anshul Guleriaanshulguleria
authored andcommitted
[BUG] Fixes push on tag publish
In case of tag publish we move to detached state which was failing the git push. Updated the command to work on tag publishing too. Bumped the version to `1.0.4` to safely publish this to npm [TESTING] Tested with my forked repo closes: #11
1 parent 60d130a commit faec9c8

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ jobs:
3838
#CI_USER: "CHANGELOG Bot"
3939
#CI_EMAIL: "noreply@github.com"
4040
run: |
41-
git push
41+
git push origin HEAD:master

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
![npm
44
publish](https://github.com/amzn/git-commit-template/workflows/publish/badge.svg)
5+
![changelog](https://github.com/amzn/git-commit-template/workflows/changelog/badge.svg)
56

67
Sets commit template for your git projects. This is a husky plugin which should
78
be used on `prepare-commit-msg` hook exposed by git.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "git-commit-template",
3-
"version": "1.0.2",
3+
"version": "1.0.4",
44
"description": "Set commit template for git packages",
55
"bin": {
66
"git-commit-template": "./bin/git-commit-template.js"

0 commit comments

Comments
 (0)