open-nomad/.release
Luiz Aoqui c502a249b9
ci: revert file changes and add some checks (#12873)
During the release there are several files that need to be modified:

  - .release/ci.hcl: the notification channel needs to be updated to a
    channel with greater team visibility during the release.
  - version/version.go: the Version and VersionPrerelease variables
    need to be set so they match the release version.

After the release these files need to be reverted.

For GA releases the following additional changes also need to happen:

  - version/version.go: the Version variable needs to be bumped to the
    next version number.
  - GNUMakefile: the LAST_RELEASE variable needs to be set to the
    version that was just released.

Since the release process will commit file changes to the branch being
used for the release, it should _never_ run on main, so the first step
is now to protect against that.

It also adds a validation to make the user input version is correct.

After looking at the different release options and steps I noticed that
automatic CHANGELOG generation is actually the exception, so it would be
better to have the default to be false.
2022-05-05 18:07:51 -04:00
..
linux move nomad.service out of etc (#12541) 2022-04-11 18:26:10 -04:00
ci.hcl ci: revert file changes and add some checks (#12873) 2022-05-05 18:07:51 -04:00
release-metadata.hcl ci: add trailing newline to release metadata 2022-03-30 08:12:55 -05:00
security-scan.hcl [Main] Onboard to CRT (#12276) 2022-04-06 11:47:02 -04:00