Skip to content

Commit

Permalink
Try pushing dist to tag
Browse files Browse the repository at this point in the history
  • Loading branch information
9inpachi committed May 13, 2024
1 parent 38d6a14 commit b0cbcce
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Publish Package

on:
push:
workflow_dispatch:
inputs:
increment:
Expand Down Expand Up @@ -41,8 +42,8 @@ jobs:

- name: Setup git
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "actions@github.com"
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- name: Build
run: pnpm build
Expand Down
3 changes: 3 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@
"release": true,
"autoGenerate": true,
"releaseName": "v${version}"
},
"hooks": {
"after:git:bump": "git add dist -f"
}
}
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,7 @@ In the project where you want to use this package as a dependency, run the follo
```sh
pnpm link --global @pufferfinance/smart-contract-lib
```

## Release

The release is automated using [release-it](https://github.com/release-it/release-it).
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "@pufferfinance/smart-contract-lib",
"description": "Library for Puffer smart contract interactions",
"version": "0.0.3-0",
"repository": {
"type": "git",
Expand Down

0 comments on commit b0cbcce

Please sign in to comment.