diff --git a/.autorc b/.autorc index 27720ccd1..c17652098 100644 --- a/.autorc +++ b/.autorc @@ -1,5 +1,4 @@ { - "onlyPublishWithReleaseLabel": true, "baseBranch": "master", "author": "DANDI Bot ", "noVersionPrefix": true, diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f5c681416..e3de226e3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,7 @@ on: push: branches: - master + workflow_dispatch: jobs: auto-release: @@ -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 + fi + ~/auto shipit -vv $opts env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} TWINE_USERNAME: __token__