Giter Site home page Giter Site logo

Comments (7)

RamblingCookieMonster avatar RamblingCookieMonster commented on July 17, 2024

Hello!

Interesting question - you could likely gate calling PSDeploy (or a particular deployment or deployment tag) based on APPVEYOR_REPO_TAG and APPVEYOR_REPO_TAG_NAME

Now that you mention it, I'll likely try to abstract those into BuildHelpers (e.g. BHTagName which would grab CI_COMMIT_TAG from GitLab CI, APPVEYOR_REPO_TAG_NAME from AppVeyor) - thanks for the idea : )

Might have just gone over my head, but how are you flagging something as a pre-release? via a particular version number? something in the tag name?

Cheers!

from psdeploy.

seanmcne avatar seanmcne commented on July 17, 2024

Thanks for the super quick response!

When you create a release on github there's a checkbox (pictured below)

image

from psdeploy.

seanmcne avatar seanmcne commented on July 17, 2024

Interesting, your appveyor variable names helped me find some content - looks like provider settings contains most of the info:

https://www.appveyor.com/docs/deployment/github/#provider-settings

from psdeploy.

seanmcne avatar seanmcne commented on July 17, 2024

Looking into this a bit more now, is the idea that we'd commit to Master, commit something with !Deploy and then appveyor would be responsible for tagging and releasing as part of the deployment to powershell gallery?

Currently, we commit and commit until we're ready for a release, then we tag and draft a release to github, once we get some feedback or can test, we eventually decide to finalize the release, at that point we push out to powershell gallery (the gallery is always our final destination once we're sure we want the larger audience to easily pull down the update).

from psdeploy.

RamblingCookieMonster avatar RamblingCookieMonster commented on July 17, 2024

The workflow is totally up to you, but the GitHub release part isn't covered by PSDeploy (yet) - as you notice though, AppVeyor can do that if it makes sense for you.

I work with modules that are pretty simple (from a module and release perspective) - here's my typical workflow:

  • All commits end up generating a package on AppVeyor's NuGet feed via psdeploy (e.g.)
  • Commits with !Deploy end up deploying to the gallery (e.g. via psdeploy)

That's about it! I don't use tags or GitHub releases for any projects, so never got around to writing a psdeploy script for this... although now that you mention it, might be nice to have that : )

Cheers!

from psdeploy.

seanmcne avatar seanmcne commented on July 17, 2024

Thanks! I did notice there are appveyor project settings to build tags only, I suppose I could just filter on the branch and build tags only though something to filter would be cool too. Thanks again for the quick responses!

from psdeploy.

RamblingCookieMonster avatar RamblingCookieMonster commented on July 17, 2024

Closing this out! If you have any ideas on things to add, feel free to open it back up - cheers!

from psdeploy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.