Skip to content

Commit

Permalink
github action should generate release artifact everytime and dry-run …
Browse files Browse the repository at this point in the history
…wporg publish if tag is a release candidate
  • Loading branch information
MichelleBlanchette committed Dec 11, 2023
1 parent 72a052c commit 95e5f48
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
tags:
- "v*"
- "!v**-rc.*"

jobs:
tag:
Expand Down Expand Up @@ -32,7 +31,7 @@ jobs:
- name: Publish WordPress Plugin Release
uses: 10up/action-wordpress-plugin-deploy@stable
with:
dry-run: true
dry-run: ${{ contains(github.ref_name, '-rc.') }}
generate-zip: false
env:
SVN_USERNAME: ${{ secrets.WPORG_SVN_USERNAME }}
Expand Down

0 comments on commit 95e5f48

Please sign in to comment.