Skip to content

Commit

Permalink
Vários echoes
Browse files Browse the repository at this point in the history
Signed-off-by: Jhon <[email protected]>
  • Loading branch information
JhonathanLepidus committed Jul 6, 2021
1 parent 335fc83 commit c10be3e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,15 @@ jobs:
sudo apt install xmlstarlet
echo "CI_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
application=$(xmlstarlet sel -t -v 'version/application' version.xml)
echo $application
if [ $application != $PLUGIN_NAME ]; then exit 1; fi
release=$(xmlstarlet sel -t -v 'version/release' version.xml)
tag=${CI_TAG:1}
echo $tag
if [[ $release != $tag* ]]; then exit 1; fi
date_version=$(xmlstarlet sel -t -v 'version/date' version.xml)
current_date=$(date +'%Y-%m-%d')
echo $date_version
if [ $date_version != $current_date ]; then exit 1; fi
shell: bash
- name: Create the tar.gz package
Expand Down

0 comments on commit c10be3e

Please sign in to comment.