Skip to content

Commit f61e0d7

Browse files
authored
Fix Deploy
Signed-off-by: Tyler McDonald <tyler@hgraph.io>
1 parent ee833c0 commit f61e0d7

3 files changed

Lines changed: 10 additions & 8 deletions

File tree

.github/workflows/publish.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
branches:
77
- main
88
- canary
9-
- introduce-v2
109
# TRIGGER 2: Stable Releases
1110
release:
1211
types:
@@ -45,6 +44,9 @@ jobs:
4544
- name: Install dependencies
4645
run: npm install
4746

47+
- name: Build
48+
run: npm run build
49+
4850
- name: Set Canary Version
4951
if: ${{ github.event_name == 'push' }}
5052
run: |
@@ -112,14 +114,14 @@ jobs:
112114
run: |
113115
# Default flags
114116
FLAGS="--access public"
115-
117+
116118
# If it is a Push event, add the canary tag
117119
if [[ "${{ github.event_name }}" == "push" ]]; then
118120
FLAGS="$FLAGS --tag canary"
119121
fi
120-
122+
121123
# If it is a Release, we assume 'latest' (which is default), so no extra flag needed.
122-
124+
123125
echo "args=$FLAGS" >> $GITHUB_OUTPUT
124126
125127
- name: Publish
@@ -131,7 +133,7 @@ jobs:
131133
ls -la *.tgz 2>/dev/null || echo "No .tgz files found"
132134
exit 1
133135
fi
134-
136+
135137
PACKAGE_FILE=$(ls *.tgz)
136138
echo "Publishing package: $PACKAGE_FILE"
137139
npm publish "$PACKAGE_FILE" ${{ steps.flags.outputs.args }}

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hashgraph/hedera-wallet-connect",
3-
"version": "2.0.5",
3+
"version": "2.0.6",
44
"description": "A library to facilitate integrating Hedera with WalletConnect",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)