Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Create GitHub Actions release automation #478

Merged
merged 2 commits into from
May 1, 2020
Merged

Conversation

nategraff-sifive
Copy link
Contributor

@nategraff-sifive nategraff-sifive commented Apr 30, 2020

This starts the creation of some proper release automation.

When a tag with one of the following formats gets pushed:

  • v20.00.RC.0
  • v20.00.00.0

This creates and pushes a tag of the same name to each of the following submodules:

  • freedom-metal
  • freedom-devicetree-tools
  • FreeRTOS-metal
  • Segger_SystemView-metal
  • cmsis-svd-generator
  • devicetree-overlay-generator
  • elf2hex
  • esdk-settings-generator
  • ldscript-generator
  • openocdcfg-generator

And generates release notes and a GitHub Release for freedom-e-sdk just like for v201908.

I'll create a similar workflow for each submodule to automate each of their own release processes, including release note generation.

@nategraff-sifive nategraff-sifive requested review from sg- and bsousi5 April 30, 2020 17:43
@nategraff-sifive nategraff-sifive force-pushed the automate-release branch 3 times, most recently from 09dd571 to 5aad496 Compare April 30, 2020 18:40
scripts/tag-submodules.sh Show resolved Hide resolved
.github/workflows/release.yml Show resolved Hide resolved
Copy link
Contributor

@bsousi5 bsousi5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nategraff-sifive nategraff-sifive force-pushed the automate-release branch 2 times, most recently from 0d48848 to 1c160a8 Compare May 1, 2020 18:06
@nategraff-sifive nategraff-sifive marked this pull request as ready for review May 1, 2020 18:07
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
@nategraff-sifive nategraff-sifive merged commit 81dfe84 into master May 1, 2020
@nategraff-sifive nategraff-sifive deleted the automate-release branch May 1, 2020 18:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants