Skip to content

Add gh action to perform release tasks#8

Merged
boxadesign merged 2 commits intomainfrom
add-ghaction-for-release
Feb 3, 2023
Merged

Add gh action to perform release tasks#8
boxadesign merged 2 commits intomainfrom
add-ghaction-for-release

Conversation

@boxadesign
Copy link
Copy Markdown
Contributor

The GH action:

  • Runs when a PR is created with a title that starts with "Create release:"
  • The title will also have a version string: "Create release: v1.1.1"
  • Takes the version string from title and updates the version number in package.json
  • Also updates the version number in the readme.md file. The string to update is 'https://github.com/ONSdigital/design-system-react#v1.0.0'
  • runs a build command: yarn build-package (this creates a /build folder with examples and css)
  • pushes a commit to the branch with all of the changes

@boxadesign boxadesign self-assigned this Feb 3, 2023
@boxadesign boxadesign merged commit 919b25c into main Feb 3, 2023
@boxadesign boxadesign deleted the add-ghaction-for-release branch February 3, 2023 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants