diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2022-12-14 14:33:42 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-01-16 10:03:54 +0000 |
commit | b27961e48d83203e699905b339d2f290c8379cc2 (patch) | |
tree | 44922a462b03a109a464e7e0bb6ce0a886644bf3 | |
parent | 41aed7a38a928863d5759ac2a93251d35aa1f657 (diff) | |
download | wayland-b27961e48d83203e699905b339d2f290c8379cc2.tar.gz |
release.sh: Don't push *all* tags
Rather than trying to push all possible tags just push the one
created for that release.
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
-rwxr-xr-x | release.sh | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -49,6 +49,9 @@ sha256="$(cd $build_dir/meson-dist && sha256sum $archive_name)" sha512="$(cd $build_dir/meson-dist && sha512sum $archive_name)" archive_url="https://gitlab.freedesktop.org/wayland/$name/-/releases/$version/downloads/$archive_name" announce_path="$build_dir/meson-dist/$name-$version-announce.eml" +current_branch=$(git branch --show-current) +remote_name=$(git config --get branch.${current_branch}.remote) + cat >"$announce_path" <<EOF To: <wayland-devel@lists.freedesktop.org> Subject: [ANNOUNCE] $name $version @@ -72,5 +75,5 @@ if [ "$answer" != "y" ]; then fi git tag -s -m "$version" "$version" -git push --tags +git push "$remote_name" "$version" glab release create "$version" "$archive_path"* --notes "" |