Skip to content

Commit

Permalink
fix: being able to release a new artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
opicaud committed Oct 24, 2023
1 parent c24e84f commit cb1f503
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions hack/find-what-next-releases-are.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@ cd $path || exit 1
$runfiles_dir/$1 --dry-run 1>/dev/null || exit 1
echo "app=$(cat $runfiles_dir/$2 | sed 's/\"//g')"

if [ -f current_release_version ]
has_been_already_released=$(cat current_release_version)
if [ "$has_been_already_released" = "" ]
then
echo "currentVersion=$(cat current_release_version)"
else
echo "currentVersion=not-available"
echo "nextVersion=1.0.0"
exit 0
else
echo "currentVersion=$(cat current_release_version)"
fi
if [ -f next_release_version ]
then
Expand Down

0 comments on commit cb1f503

Please sign in to comment.