Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/v0.0.1 alpha.5 #4

Merged
merged 2 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 4 additions & 13 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build and Publish to npm
on:
push:
tags:
- '**'
- "**"

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}
Expand All @@ -21,7 +21,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
node-version: "18.x"

- name: Install Dependencies
run: npm ci
Expand All @@ -45,17 +45,8 @@ jobs:
- name: Publish to npm
run: |
npm config set provenance true
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
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
else
echo "Not a release, skipping publish"
fi
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
npm publish --tag next --access public
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [0.0.1-alpha.5](https://github.com/DIG-Network/dig-cli/compare/v0.0.1-alpha.4...v0.0.1-alpha.5) (2024-09-09)


### Bug Fixes

* add ci ([fdd3f11](https://github.com/DIG-Network/dig-cli/commit/fdd3f11a03327efc0fa455fe9383bc9993144e44))

### [0.0.1-alpha.4](https://github.com/DIG-Network/dig-cli/compare/v0.0.1-alpha.3...v0.0.1-alpha.4) (2024-09-09)

### [0.0.1-alpha.3](https://github.com/DIG-Network/dig-cli/compare/v0.0.1-alpha.2...v0.0.1-alpha.3) (2024-09-09)
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dig-chia-cli",
"version": "0.0.1-alpha.4",
"version": "0.0.1-alpha.5",
"description": "",
"type": "commonjs",
"main": "./dist/index.js",
Expand Down
Loading