Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve release automation with Asana magic #899

Merged
merged 7 commits into from
Nov 25, 2021

Conversation

GioSensation
Copy link
Member

@GioSensation GioSensation commented Oct 15, 2021

Reviewers: @jonathanKingston @MariagraziaAlastra @sammacbeth
Asana: https://app.asana.com/0/0/1200750505563921/1201183123265449/f

Description:

Automate the Asana paperwork!

  • Run the workflow, with manual input of version (as the current stage.yml)
  • Run the script and commit the changes
  • Generate a new Release draft (prerelease: true)
  • Use the list of commits from the previous tag to the current to populate the release notes
  • Build zip files and upload them to the release ← We already have most of this logic in publish.yml
  • Asana Script:
    • Get list of tasks in the Extension release project under the Release section
    • Duplicate the release template, paste in the list of tasks in the appropriate section
    • Upload the zip files to Asana

Steps to test this PR:

Give it a first pass, then we'll merge and try to cut test releases to see how it works. You can see what the Asana script spits out in https://app.asana.com/0/312629933896096/1201202709634481/f.

@GioSensation GioSensation self-assigned this Oct 15, 2021
package.json Outdated Show resolved Hide resolved
@GioSensation GioSensation marked this pull request as ready for review October 15, 2021 10:42
@jonathanKingston
Copy link
Collaborator

I'm happy with this however I would prefer someone like @sammacbeth to also look at it as he is certainly better versed with automation than I am.

Copy link
Collaborator

@sammacbeth sammacbeth left a comment

Choose a reason for hiding this comment

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

Looks good. It seems we're running npm install too often, but otherwise this is great! Also needs a rebase, but then feel free to merge.

.github/workflows/stage.yml Outdated Show resolved Hide resolved
.github/workflows/stage.yml Outdated Show resolved Hide resolved
Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com>
Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com>
Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com>
Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com>
Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com>
@GioSensation GioSensation force-pushed the ema/release-automation branch from 3064a88 to fd3577c Compare November 25, 2021 13:25
Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com>
.github/workflows/stage.yml Outdated Show resolved Hide resolved
Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com>
@sammacbeth sammacbeth merged commit bbc3f22 into develop Nov 25, 2021
@GioSensation GioSensation deleted the ema/release-automation branch November 25, 2021 17:03
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.

3 participants