Skip to content

Commit

Permalink
Updated github action to call an update version script that updates b…
Browse files Browse the repository at this point in the history
…oth the package.json version and contract version
  • Loading branch information
oveddan committed Sep 19, 2023
1 parent 8fbe97a commit 40f0da6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/changesets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
uses: changesets/action@v1
with:
# This expects you to have a script called release which does a build for your packages and calls changeset publish
version: yarn update-version
publish: yarn release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zoralabs/zora-1155-contracts",
"version": "1.4.0",
"version": "1.4.1",
"repository": "[email protected]:ourzora/creator-contracts.git",
"author": "Iain <[email protected]>",
"license": "MIT",
Expand All @@ -25,7 +25,8 @@
"storage-inspect:generate": "./script/storage-check.sh generate ZoraCreator1155Impl ZoraCreator1155FactoryImpl",
"release": "yarn run prepack && changeset publish",
"js-test:watch": "vitest dev",
"anvil": "anvil --fork-url https://rpc.zora.energy --fork-block-number 2550000 --chain-id 31337"
"anvil": "anvil --fork-url https://rpc.zora.energy --fork-block-number 2550000 --chain-id 31337",
"update-version": "changeset version && yarn update-contract-version"
},
"files": [
"dist/",
Expand Down

0 comments on commit 40f0da6

Please sign in to comment.