Skip to content

Commit ed46edb

Browse files
authored
Merge pull request #55 from bsospace/feat/update-version-package
Feat/update version package
2 parents 768fad2 + 23c742a commit ed46edb

3 files changed

Lines changed: 15 additions & 7 deletions

File tree

.github/workflows/bump-and-release.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,19 @@ jobs:
113113
NEW_VERSION=${{ steps.new_version.outputs.version }}
114114
TAG_NAME="v$NEW_VERSION"
115115
116-
echo "Pushing tag $TAG_NAME"
116+
npm version "$NEW_VERSION"
117+
118+
git push --follow-tags
119+
# - name: Push New Tag
120+
# run: |
121+
# NEW_VERSION=${{ steps.new_version.outputs.version }}
122+
# TAG_NAME="v$NEW_VERSION"
123+
124+
# echo "Pushing tag $TAG_NAME"
117125

118-
git tag -a "$TAG_NAME" -m "Release $TAG_NAME"
119-
# Token ถูก set ตั้งแต่ checkout แล้ว จึง push ได้เลย
120-
git push origin "$TAG_NAME"
126+
# git tag -a "$TAG_NAME" -m "Release $TAG_NAME"
127+
# # Token ถูก set ตั้งแต่ checkout แล้ว จึง push ได้เลย
128+
# git push origin "$TAG_NAME"
121129

122130
- name: Create GitHub Release
123131
uses: softprops/action-gh-release@v2

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "version-bump",
3-
"version": "0.1.0",
3+
"version": "0.10.0-dev.4",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)