Comments (7)
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.
Thanks for the super quick response!
When you create a release on github there's a checkbox (pictured below)
from psdeploy.
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.
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.
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.
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.
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)
- DependingOn not working as expected (ordering wrong) HOT 5
- AppVeyor deployment not supporting subfolder for nupkg HOT 1
- Deployment fails on Linux HOT 3
- Move FileSystem tests out of the main function tests.
- Appveyor module fails when running in Powershell 6.0 HOT 1
- AppVeyor deployment: NuGet: An error occurred while parsing EntityName errors
- Shadow-Copy Function Throws Exception when run on PS Core on Linux or OSX HOT 7
- [Suggestion] Using name instead of path parameter in PSGalleryModule deployment type
- Invoke-Robocopy FatalError with /xf parameter
- Search for *psdeploy.ps1 is case sensitive on Unix systems
- GitHub Release DeploymentType HOT 2
- Please upgrade to latest YamlDotNet
- New Deployment Type: Azure Automation runbook HOT 2
- My psd1 version and psgallery version don't update.
- RequiredModules breaks PSGallery deploy type to private nuget repo HOT 1
- By Filesystem on PS Core fails with error HOT 1
- Upcoming major releases of Chocolatey products that may impact functionality on the integration HOT 1
- New Deployment Type: SCP HOT 2
- PSGalleryModule - Make ApiKey optional HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from psdeploy.