Skip to content

Commit 0cfed1f

Browse files
authored
Create changelog when bumping version during release (#768)
1 parent 37bff20 commit 0cfed1f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

buildspec/bumpVersion.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ phases:
3232
else
3333
npm version minor
3434
fi
35+
npm run createRelease
36+
git commit -m "Update version to $VERSION"
37+
echo "tagging commit"
38+
git tag -a v$VERSION -m "version $VERSION $DATE"
39+
# cleanup
40+
git clean -fxd
41+
git reset HEAD --hard
3542
artifacts:
3643
files:
3744
- '**/*'

0 commit comments

Comments
 (0)