Our release process is non-standard and undocumented. Let's automate it. This MR will create a script that builds front-end assets, cuts a tag, and provides instructions for manual steps needed to complete a release.

The script works like this:

$ ./scripts/release.sh -h
Usage: ./scripts/release.sh [-h | --help] [-H | --head <branch>] [--dry-run] [-f | --force] <tag_name>
  -h, --help            Show this help message and exit.
  -H, --head <branch>   (Optional) The branch to return to after release. Defaults to current branch.
  --dry-run             Print the operations that would be performed, but do not execute them.
  -f, --force           Ignore precondition checks (for testing/debugging only).
  <tag_name>            The name of the release tag to create.

Attached is an example of output it produces.

CommentFileSizeAuthor
example-output.txt2.81 KBtraviscarden
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

traviscarden created an issue. See original summary.

traviscarden’s picture

Issue summary: View changes
Status: Active » Needs review

@balsama, do you think we should add this to our CI job?

balsama’s picture

Status: Needs review » Reviewed & tested by the community

This is great. And I see you cleaned up the cruft that had inadvertently been committed too.

I don't think we need this to be a part of CI. Thanks.

traviscarden’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.