Skip to content

Commit 89fcbc7

Browse files
committed
release: 6.5.0-rc2
Signed-off-by: Tuan Anh Tran <me@tuananh.org>
1 parent b5a8eba commit 89fcbc7

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/release.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ jobs:
1616
node-version: 'lts/*'
1717
registry-url: 'https://registry.npmjs.org'
1818
- run: npm install
19-
- run: npm publish --provenance --access public
19+
- name: Publish to npm
20+
run: |
21+
if node -e "process.exit(/-/.test(require('./package.json').version) ? 0 : 1)"; then
22+
echo "Prerelease version; publishing with dist-tag: next"
23+
npm publish --provenance --access public --tag next
24+
else
25+
npm publish --provenance --access public
26+
fi
2027
env:
2128
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "camaro",
3-
"version": "6.5.0-rc1",
3+
"version": "6.5.0-rc2",
44
"description": "Transforming XML to JSON using Node.js binding to native pugixml parser library",
55
"homepage": "https://github.com/tuananh/camaro",
66
"bugs": "https://github.com/tuananh/camaro/issues",

0 commit comments

Comments
 (0)