dsccommunity / GPRegistryPolicyDsc

DSC resources used to apply and manage local group policies by modifying the respective .pol file.
MIT License
21 stars 7 forks source link

Add release tag to the CI pipeline on deploy #5

Closed johlju closed 4 years ago

johlju commented 5 years ago

When we merge a new release into the master branch it will automatically deploy to PowerShell Gallery, but there will not be GitHub Release. We should try to automate this step to.

johlju commented 5 years ago

@jcwalker how did you to the release tag, I see you solved that one for the last release? Can we automate it easily?

jcwalker commented 5 years ago

@johlju I manually created the tag. I'm not sure on the specifics on how to automate it.

johlju commented 5 years ago

What do you do to create the tag? What are the steps you took to create the tag?

jcwalker commented 5 years ago

I simply followed the instructions here

johlju commented 5 years ago

Ah cool! I think we could automate this with https://github.com/pcgeek86/PSGitHub (or some other tool), but it looks like we need to have a personal access token for an account with enough permission to create released. 🤔

gaelcolas commented 5 years ago

I've been working on that ;) You can leave this to me.

johlju commented 5 years ago

@gaelcolas Cool! Thank you!

johlju commented 4 years ago

Working on getting this repo to the new CI pipeline

johlju commented 4 years ago

@jcwalker from now on it will release a preview version on every merge to branch master unless you use [skip ci] in the commit title or description. If you want to release a full version you do the following https://dsccommunity.org/blog/convert-a-module-for-continuous-delivery#publish-the-next-full-version