Skip to content

Commit

Permalink
branch renaming for CI and publishing tag
Browse files Browse the repository at this point in the history
  • Loading branch information
matthme committed Aug 9, 2024
1 parent 6931cc1 commit c2b8890
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:
'on':
push:
branches:
- main
- debug
tags-ignore:
- '**'
paths-ignore:
Expand Down Expand Up @@ -220,11 +220,11 @@ jobs:
if git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+$";
then
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
npm publish --access public --tag dev
npm publish --access public --tag debug
elif git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+";
then
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
npm publish --tag next --access public --tag dev
npm publish --tag next --access public --tag debug
else
echo "Not a release, skipping publish"
fi
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lightningrodlabs/we-rust-utils",
"version": "0.400.0-dev.7",
"version": "0.400.0-debug.0",
"repository": {
"type": "git",
"url": "https://github.com/lightningrodlabs/we-rust-utils"
Expand Down

0 comments on commit c2b8890

Please sign in to comment.