diff --git a/games/factorio_development.sh b/games/factorio_development.sh index d4a9d5510c10cc572457df0fa49c4ca75a27be8e..a17d0a0d484d2706d9450920d850e5749ddb1ec5 100755 --- a/games/factorio_development.sh +++ b/games/factorio_development.sh @@ -860,8 +860,8 @@ function command_release() { # Commit the changes and create a tag. GIT_VERSION_TAG_PREFIX # comes from build configuration. if ! git -C "$base_dir" add "$changelog_file" "$info_file" || \ - ! git -C "$base_dir" commit --edit -m "Prepared release $version." || \ - ! git -C "$base_dir" tag "${git_tag_gpgsign[@]}" -a -m "Release $version." "${GIT_VERSION_TAG_PREFIX}${version}"; then + ! git -C "$base_dir" commit --edit --message "Prepared release $version." || \ + ! git -C "$base_dir" tag "${git_tag_gpgsign[@]}" --annotate --message "Release $version." "${GIT_VERSION_TAG_PREFIX}${version}"; then error "Failed to create release commit and tag." return 1 @@ -883,7 +883,7 @@ EOF # Commit the changes. if ! git -C "$base_dir" add "$changelog_file" "$info_file" || \ - ! git -C "$base_dir" commit -m "Switched back to development version."; then + ! git -C "$base_dir" commit --message "Switched back to development version."; then error "Failed to create developement commit." return 1 fi