Skip to content
Closed
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
12 changes: 2 additions & 10 deletions .autorc
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
{
"onlyPublishWithReleaseLabel": true,
"baseBranch": "master",
"author": "DANDI Bot <team@dandiarchive.org>",
"noVersionPrefix": true,
"plugins": [
"git-tag",
[
"exec",
{
"afterRelease": "python -m build && twine upload dist/*"
}
],
"released"
]
"plugins": ["git-tag", "released"]
}
10 changes: 3 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
push:
branches:
- master
workflow_dispatch:

env:
AUTO_VERSION: v11.3.6
Expand Down Expand Up @@ -104,12 +103,9 @@ jobs:

- name: Create release
run: |
echo "@${{ github.actor }} is creating a release triggered by ${{ github.event_name }}"
if [ "${{ github.event_name }}" = workflow_dispatch ]
then opts=
else opts=--only-publish-with-release-label
fi
~/auto shipit -vv $opts
~/auto shipit -vv
python -m build
twine upload dist/*
env:
GH_TOKEN: ${{ secrets.DANDI_GITHUB_TOKEN }}
TWINE_USERNAME: __token__
Expand Down
Loading