Skip to content

Commit

Permalink
Automate the Wordpress versions updates -REF: IES-43
Browse files Browse the repository at this point in the history
- fixed var SVN_REP_USER
- added check if version $VERSION already published and bail out if so
  • Loading branch information
FlorinCovaciu committed Jul 28, 2023
1 parent a2dadcf commit bb0d1a6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
echo "cd ${{ vars.SVN_REP_DIR }}"
cd ${{ vars.SVN_REP_DIR }}
echo "check if version $VERSION already published and bail out if so"
if [[ -d "tags/$VERSION" ]]; then
echo "ℹ︎ Version $VERSION was already published";
exit
fi
echo "svn delete trunk/*"
svn delete trunk/*
Expand Down

0 comments on commit bb0d1a6

Please sign in to comment.