Skip to content

Commit

Permalink
make action delete tag if it exists v1
Browse files Browse the repository at this point in the history
  • Loading branch information
filipecsweb committed Sep 16, 2023
1 parent 9a8794e commit 8139572
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/new-version-deploy/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ generate_zip() {
fi
}

# Bail early if the plugin version is already published.
# Delete tag if it exists.
if [[ -d "tags/$VERSION" ]]; then
svn delete "${SVN_URL}tags/$VERSION" -m "Delete tag $VERSION"
svn delete "tags/$VERSION"
fi

if [[ "$BUILD_DIR" = false ]]; then
Expand Down

0 comments on commit 8139572

Please sign in to comment.