Skip to content

Commit

Permalink
Fix set version script
Browse files Browse the repository at this point in the history
  • Loading branch information
qvacua committed Nov 29, 2023
1 parent 9eb5e35 commit e314633
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions bin/set_new_versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,22 @@ declare -r -x github_release_name=${github_release_name}
declare -r -x release_notes=\$(cat release-notes.temp.md)
# Add release notes to release-notes.temp.md and issue
create_gh_release=true upload=true update_appcast=true release_spec_file=${bundle_version}-${version_marker}.sh ./bin/build_release.sh
# create_gh_release=true upload=true update_appcast=true release_spec_file=${bundle_version}-${version_marker}.sh ./bin/build_release.sh
END
)
readonly output

local output_exec
output_exec=$(cat <<-END
create_gh_release=true upload=true update_appcast=true release_spec_file=${bundle_version}-${version_marker}.sh ./bin/build_release.sh
END
)
readonly output_exec

echo "Release notes" > release-notes.temp.md
echo "${output}" > "${bundle_version}-${version_marker}.sh"
echo "${output_exec" > "build_release.temp.sh"
chmod +x "build_release.temp.sh"
echo "### Tag, commit and push with ${tag}."
echo "Then, add release notes to release-notes.temp.md."
Expand All @@ -80,7 +89,7 @@ END
echo "create_gh_release=true upload=true update_appcast=true \\"
echo "./bin/build_release.sh"
echo ""
echo "OR do ${bundle_version}-${version_marker}.sh"
echo "OR do build_release.temp.sh"
}
main

0 comments on commit e314633

Please sign in to comment.