Skip to content

Commit

Permalink
Merge pull request #10 from dhassault/experiment-workflow-trigger
Browse files Browse the repository at this point in the history
Experiment workflow trigger
  • Loading branch information
dhassault committed Nov 8, 2021
2 parents 672aedf + f23e99f commit 2402e2a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
branches:
- main
- next
workflow_run:
workflows: ["Test"]
types:
- completed
jobs:

release:
Expand Down Expand Up @@ -56,4 +60,4 @@ jobs:
- name: Run Semantic Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release --debug
run: npx semantic-release
4 changes: 3 additions & 1 deletion .releaserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ plugins:
- path: "@semantic-release/github"
assets:
- path: "dist/*.whl"
label: "Python Package"
label: "sample-package-${nextRelease.version}.whl"
- path: "dist/*.tar.gz"
label: "sample-package-${nextRelease.version}.tar.gz"

0 comments on commit 2402e2a

Please sign in to comment.