Skip to content

Commit 7967018

Browse files
authored
Merge pull request #981 from nextcloud/fix/fix-release-script
chore: Add npm command to release script
2 parents 462abf0 + 9835f3a commit 7967018

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

release.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,14 @@ case $input in
6464
git add CHANGELOG.md
6565
git add appinfo/info.xml
6666

67-
# Create commit
68-
git commit --signoff --message $tag
69-
70-
# Create tag
71-
git tag $tag
67+
# Bump npm version, commit and tag
68+
npm version --allow-same-version -f $version
7269

7370
# Show the result
7471
git log -1 -p
72+
73+
# Add signoff
74+
git commit --amend -s
7575
;;
7676
*)
7777
echo "You say No"

0 commit comments

Comments
 (0)