threat-dragon icon indicating copy to clipboard operation
threat-dragon copied to clipboard

revise version 2 workflow release process

Open jgadsden opened this issue 2 years ago • 4 comments

Describe what problem your feature request solves We need to rewrite workflow .github/workflows/release.yaml for version 2.0

Describe the solution you'd like this is the automation for when a new tag is created, which can then be used for the release candidate

Additional context

jgadsden avatar Apr 16 '22 15:04 jgadsden

@jgadsden What are we planning to rewrite here?

Like are we supposed to enhance anything here?

ShubhamPalriwala avatar Apr 21 '22 09:04 ShubhamPalriwala

at the moment .github/workflows/release.yaml from 1.x is disabled - see .github/workflows/release.yaml.bak - and it has a comment "# TODO - This will need to be re-written for v2"

jgadsden avatar Apr 21 '22 10:04 jgadsden

Okay! What is supposed to be done though xD? Why are we changing the release process? I'm assuming changing/TODO means something other than uncommenting the code xDD?

ShubhamPalriwala avatar Apr 23 '22 18:04 ShubhamPalriwala

My ideal situation would be that it fully automates the steps required for a release. We should be able to trigger this action when we push a tag. The steps (from memory):

  • build/push the docker image with with the git tag
  • create the GitHub release draft (visible to maintainers)
  • build the signed electron packages (win, Mac, nix)
  • push to snapcraft

It's currently set up to look for the td.desktop directory, and I don't know how far along we are with the election build yet

lreading avatar Apr 23 '22 19:04 lreading