-
Notifications
You must be signed in to change notification settings - Fork 420
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
Create GitHub releases for merges into main #2628
Conversation
JoeRobich
commented
Aug 13, 2024
•
edited
Loading
edited
curl -L https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - | ||
sudo apt-get install apt-transport-https | ||
sudo apt-get update && sudo apt-get install azure-cli | ||
az storage blob upload-batch --destination "releases" --source "$(System.ArtifactsDirectory)/deployment/" --overwrite --account-name roslynomnisharp --account-key $BLOB_KEY |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will no longer push artifacts to this storage account.
publishVstsFeed: Builds/omnisharp | ||
allowPackageConflicts: true | ||
condition: and(succeeded(), or(startsWith(variables['Build.SourceBranch'], 'refs/tags/v'), eq(variables['Build.SourceBranch'], 'refs/heads/master'))) | ||
# Temporarily disable publishing to nuget.org while we attempt to renew authentication. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reenabled pushing to NuGet for official builds.
|
||
stages: | ||
- stage: CreateBetaReleaseTag | ||
displayName: "Tag Beta Release" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Running against master branch no longer builds artifacts directly. Instead it creates a draft release and tag which will then cause this pipeline to build a prerelease.
paths: | ||
exclude: | ||
- 'CHANGELOG.md' | ||
pr: none |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We already have a "build" pipeline in GH actions which performs the same steps that this pipeline did for PRs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Branch protections rules have been updated accordingly.
@@ -1,26 +1,11 @@ | |||
parameters: | |||
- name: testProjects |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed because this pipeline hasn't run unit tests in years.