Skip to content

Commit d958ebb

Browse files
committed
docs: make release on rc/** branches possible (#50)
Signed-off-by: Mariusz Jasuwienas <jasuwienas@gmail.com>
1 parent 7b8ea3f commit d958ebb

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,15 +202,15 @@ jobs:
202202
- name: Pack tarball
203203
working-directory: contracts
204204
run: |
205-
npm pack --pack-destination ./dist
205+
npm pack
206206
207207
- name: Verify Package
208208
working-directory: contracts
209209
run: |
210-
EXPECTED="./dist/${{ steps.set-publish-data.outputs.artifact-name }}"
210+
EXPECTED="./${{ steps.set-publish-data.outputs.artifact-name }}"
211211
if [[ ! -f "${EXPECTED}" ]]; then
212212
echo "::error::Expected package not found: ${EXPECTED}"
213-
ls -la ./dist/
213+
ls -la .
214214
exit 1
215215
fi
216216
echo "Package verified: ${EXPECTED} ($(du -h "${EXPECTED}" | cut -f1))"
@@ -219,7 +219,7 @@ jobs:
219219
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
220220
with:
221221
name: contracts-npm-package
222-
path: ./contracts/dist/${{ steps.set-publish-data.outputs.artifact-name }}
222+
path: ./contracts/${{ steps.set-publish-data.outputs.artifact-name }}
223223
if-no-files-found: error
224224

225225
- name: Close the Milestone

0 commit comments

Comments
 (0)