Skip to content

Commit

Permalink
feat: update release page
Browse files Browse the repository at this point in the history
Update Release page.

ING-3990
  • Loading branch information
emanuelaepure10 committed Feb 27, 2024
1 parent 5e88ffe commit 8c29a73
Showing 1 changed file with 27 additions and 19 deletions.
46 changes: 27 additions & 19 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,57 +7,65 @@ General rules
Before proceeding with the release steps
========================================

Create a new branch from the master:
Create a new branch from the master containing the changes to:

1. check if there is a need to change the [splash year in the copyright notice]( https://github.com/halestudio/hale/blob/6c283a281e168f988de8ebce5287330815a56583/ui/plugins/eu.esdihumboldt.hale.ui.application/plugin.xml#L103)
2. update the [CHANGELOG.md](https://github.com/halestudio/hale/blob/master/CHANGELOG.md#change-log)
3. update [what's new page](https://github.com/halestudio/hale/tree/master/doc/plugins/eu.esdihumboldt.hale.doc.user/html/new) by creating a new `<release-tag>.xhtml` page.
4. update the [Infocenter container](https://github.com/halestudio/hale/blob/fb07374fdd4e5078ccbc2074fd8a13bd48982e58/doc/plugins/eu.esdihumboldt.hale.doc.user/toc.xml#L17), so that [what's new page in the documentation](http://help.halestudio.org/latest/index.jsp?topic=%2Feu.esdihumboldt.hale.doc.user%2Fhtml%2Fnew%2F4_1_0.xhtml&cp%3D0_1_0) is updated to show the latest release information.

1. Create a PR to update the [CHANGELOG.md](https://github.com/halestudio/hale/blob/master/CHANGELOG.md#change-log)
2. Create a PR to update [what's new page](https://github.com/halestudio/hale/tree/master/doc/plugins/eu.esdihumboldt.hale.doc.user/html/new) by creating a new `<release-tag>.xhtml` page.
3. Once the PRs are merged to the master, update the [Infocenter container](https://github.com/halestudio/hale/blob/fb07374fdd4e5078ccbc2074fd8a13bd48982e58/doc/plugins/eu.esdihumboldt.hale.doc.user/toc.xml#L17), so that [what's new page in the documentation](http://help.halestudio.org/latest/index.jsp?topic=%2Feu.esdihumboldt.hale.doc.user%2Fhtml%2Fnew%2F4_1_0.xhtml&cp%3D0_1_0) is updated to show the latest release information. Then proceed with the steps for a HALE release.
and then create a PR containing the changes.

Then proceed with the steps for a HALE release.

Steps for a HALE release
========================

On release branch:

1. Merge origin/master into release
1. Merge origin/master into release and commit the changes
2. Set the release version for application bundles and build
`./updateversionnumbers.groovy --release <RELEASE-VERSION>`
3. Create a commit
4. Create a tag for the new release
5. Push to origin/release and push tags
6. Create a PR

On master branch:

1. Set new snapshot version for bundles and features
`./updateversionnumbers.groovy -o <RELEASE-VERSION> -n <NEW-VERSION>`
2. Set new snapshot version for application
`./updateversionnumbers.groovy --snapshot <NEW-VERSION>`
3. Create a PR

Example
=======

On release branch:

```
git merge origin/master
./updateversionnumbers.groovy --release 2.9.0
./updateversionnumbers.groovy --release 5.1.0
git add -A
git commit -m "Updated application versions for 2.9.0 release"
git tag 2.9.0
git commit -m "Updated application versions for 5.1.0 release"
git tag 5.1.0
git push origin release
git push --tags
```

On master branch:

```
./updateversionnumbers.groovy -o 2.9.0 -n 3.0.0
./updateversionnumbers.groovy --snapshot 3.0.0
./updateversionnumbers.groovy -o 5.2.0 -n 5.3.0
./updateversionnumbers.groovy --snapshot 5.3.0
```

After the release
=================
1. Create Windows installer.
Prerequisites: install Wix Toolset v.3.11 [available here](https://github.com/wixtoolset/wix3/releases/tag/wix3112rtm)
Then run `build.bat product -o windows -a x86_64 HALE` from the root directory.
2. Draft a new release for the latest release at https://github.com/halestudio/hale/releases and publish it.
3. Update [download page](https://github.com/wetransform/www.wetransform.to/blob/deploy/app/downloads/index.html) so that the latest builds are available for download from https://www.wetransform.to/downloads/
1. Create Windows installer:
- Prerequisites: install Wix Toolset v.3.11 [available here](https://github.com/wixtoolset/wix3/releases/tag/wix3112rtm)
- While on the release branch, execute `build.bat product -o windows -a x86_64 HALE` from the root directory.
2. Drafting a New Release on GitHub:
- Gather the files generated in Jenkins from the latest successful build of the release branch.
- Utilize these files to draft the release on the [HALE GitHub repository](https://github.com/halestudio/hale/releases), including the .msi file generated in step 1.
3. Update Infocenter (more details will come)
4. Update the download page:
- Make necessary updates to the [download page](https://github.com/wetransform/www.wetransform.to/blob/deploy/app/downloads/index.html)
- Ensure that the latest builds are accessible for download from https://www.wetransform.to/downloads/

0 comments on commit 8c29a73

Please sign in to comment.