Skip to content

Latest commit

 

History

History
46 lines (43 loc) · 1.85 KB

release-process.adoc

File metadata and controls

46 lines (43 loc) · 1.85 KB

Release process

Everything is manual at the moment.

  1. Make sure that README.adoc is up-to-date with the current state of the project (especially CLI options), and make a commit if required.

  2. Make sure the git local repository is clean (ie. nothing listed with git status).

  3. Change the following files:

    1. CHANGELOG.adoc with an added section (==) titled with the release number, with a list of novelties and with a list of contributors.

    2. src/main/kotlin/bandcampcollectiondownloader/Constants.kt with a new version number.

  4. Make a commit with both files and with the new version number:

    git add CHANGELOG.adoc src/main/kotlin/bandcampcollectiondownloader/core/Constants.kt
    git commit -m "Release vYYYY-MM-DD"

    where YYYY-MM-DD is the current date.

  5. Add a tag with the new version number:

    git tag vYYYY-MM-DD
  6. Push everything to the remote git repository, including the new tag:

    git push --tags
  7. Wait for the CI pipeline build to be done, then open the corresponding pipeline page, then open the build build page, then press the Keep button.

  8. Press Browse and navigate to the .jar file until you find the URL, and copy the URL (or replace <Job ID> in the URL below). It should look like this:

    https://framagit.org/Ezwen/bandcamp-collection-downloader/-/jobs/<Job ID>/artifacts/raw/build/libs/bandcamp-collection-downloader.jar?inline=false
    Note
    Replacing the job ID in the URL above should work?
  9. Go to the Releases page: https://framagit.org/Ezwen/bandcamp-collection-downloader/-/releases and press New release

  10. In Tag Name, select the tag vYYYY-MM-DD where YYYY-MM-DD is the current date.

  11. In Release notes, copy and paste the content of the release notes.

  12. In Release assets, put the jar URL prepared previously with the title Executable jar.

  13. Press Create Release.

And done! 🎉