Skip to content

Commit

Permalink
fix: revert release.sh
Browse files Browse the repository at this point in the history
Signed-off-by: degenaro <[email protected]>
  • Loading branch information
degenaro committed Nov 16, 2023
1 parent 217aa16 commit 60079a1
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions scripts/automation/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,6 @@

source config.env

# If there is no catalog or markdown, then there is nothing to do
COUNT_CATALOG_MD=$(ls -l md_catalogs | grep ^- | wc -l)
COUNT_CATALOGS=$(ls -l catalogs | grep ^- | wc -l)
let "INITIALIZED = $COUNT_CATALOG_MD + $COUNT_CATALOGS"
if [ $INITIALIZED -eq 0 ]
then
echo "no catalog or markdown, nothing to do"
exit 0
fi

version_tag=$(semantic-release print-version)
echo "Bumping version of catalogs to ${version_tag}"
export VERSION_TAG="$version_tag"
Expand Down

0 comments on commit 60079a1

Please sign in to comment.