Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .autorc
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"onlyPublishWithReleaseLabel": true,
"baseBranch": "master",
"author": "DANDI Bot <team@dandiarchive.org>",
"noVersionPrefix": true,
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
push:
branches:
- master
workflow_dispatch:

jobs:
auto-release:
Expand All @@ -31,7 +32,12 @@ jobs:
run: python -m pip install build twine

- name: Create release
run: ~/auto shipit -vv
run: |
if [ "${{ github.event_name }}" = workflow_dispatch ]
then opts=
else opts=--only-publish-with-release-label
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You also need to remove "onlyPublishWithReleaseLabel": true from .autorc.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks! now this makes more sense to me ;-)

fi
~/auto shipit -vv $opts
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TWINE_USERNAME: __token__
Expand Down
Loading