mirror of
https://gitlab.gnome.org/julianschacher/top-bar-organizer.git
synced 2025-10-27 15:19:09 +00:00
Also generally fix up the docs and the git_annotated_tag_template a bit, make the tag template not include the shortlog anymore (as that doesn't make that much sense) and also provide a release_notes_template.md.
1.3 KiB
1.3 KiB
Creating a Release
Create a Tag
To create a new tag, do the following:
-
Fill out
git_annotated_tag_template. -
Run the following command to tag the current commit with
vX:git tag -a -F git_annotated_tag_template -s --cleanup=verbatim vX -
Restore
git_annotated_tag_templateto its original state:git restore git_annotated_tag_template -
Push the tag:
git push --tags
Build a Release-ZIP
-
Build the release-ZIP:
./package.sh -
Name the release-ZIP after the current version:
mv top-bar-organizer@julian.gse.jsts.xyz.shell-extension.zip top-bar-organizer@julian.gse.jsts.xyz.shell-extension_vX.zip
Create a GitLab Release
- Go to the Releases section of the repo and click on the "New Release" button.
- Select the corresponding tag created earlier.
- Name the release "Top Bar Organizer vX".
- Copy the release notes template and fill it out.
- Upload the release-ZIP created in the previous step as a release asset.
- Create the release.
Uploading to the GNOME Extensions Website
- Go to the upload page of the GNOME extensions website and upload the release-ZIP.