Skip to content

Commit

Permalink
ci: fix release zip package
Browse files Browse the repository at this point in the history
  • Loading branch information
meskill committed Sep 11, 2021
1 parent 25d725d commit 5ff388c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/branch-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ jobs:
with:
dry-run: true
node-module: true
disable-changelog: true
disable-generate-changelog: true
release-branches: '["**"]'
13 changes: 7 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
- "tools/webpack/**"
- "yarn.lock"
- "tsconfig.json"
- ".github/workflows/release.yml"

jobs:
publish:
Expand All @@ -27,19 +28,19 @@ jobs:
cache: yarn
- run: yarn
- run: yarn build
- name: 📦 Zip dist files
id: zip
uses: Roslovets-Inc/zip-npm-files@v1
- uses: papeloto/action-zip@v1
with:
files: dist
files: dist/
recursive: false
dest: release.zip
- uses: ridedott/release-me-action@v3
with:
node-module: true
disable-changelog: true
release-assets: ${{ steps.zip.outputs.archive }}
release-assets: release.zip
release-rules: |
[
{ "release": "patch", "type": "build" },
{ "release": "patch", "type": "ci" },
{ "release": "patch", "type": "chore" },
{ "release": "patch", "type": "improvement" },
{ "release": "patch", "type": "refactor" },
Expand Down

0 comments on commit 5ff388c

Please sign in to comment.