Skip to content

Commit 196ed30

Browse files
Use pre suffix & tag instead of dev
We'll be useing a `pre` tag for this package with contracts. We decided to use 'dev` suffix for projects where we deploy contracts (and there is a need for distinction between environments). Here we don't deploy contracts, so we can use `pre` suffix/tag.
1 parent 42e9809 commit 196ed30

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/npm.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ jobs:
2626
id: npm-version-bump
2727
uses: keep-network/npm-version-bump@v2
2828
with:
29-
environment: dev
29+
environment: pre
3030
branch: ${{ github.ref }}
3131
commit: ${{ github.sha }}
3232

3333
- name: Publish package
3434
env:
3535
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
36-
run: npm publish --access public --tag development
36+
run: npm publish --access public --tag pre

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@thesis-co/solidity-contracts",
3-
"version": "0.0.1-dev",
3+
"version": "0.0.1-pre",
44
"license": "MIT",
55
"files": [
66
"contracts/**/*.sol"

0 commit comments

Comments
 (0)