-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* sign executables for mac * fix indention * use codesign * fix directory * add mkdir * update release step * fix error * add migration and kusto executables * revert the version change
- Loading branch information
1 parent
9002d09
commit a7e1626
Showing
4 changed files
with
63 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
steps: | ||
- task: DownloadBuildArtifacts@0 | ||
displayName: 'Download Build Artifacts' | ||
inputs: | ||
downloadType: specific | ||
itemPattern: | | ||
drop/Microsoft.SqlTools.ServiceLayer-osx-arm64-unsigned-net7.0.tar.gz | ||
drop/Microsoft.SqlTools.Migration-osx-arm64-unsigned-net7.0.tar.gz | ||
downloadPath: '$(Agent.TempDirectory)' | ||
|
||
- script: | | ||
cd $(Agent.TempDirectory)/drop | ||
mkdir sts | ||
tar -xzvf Microsoft.SqlTools.ServiceLayer-osx-arm64-unsigned-net7.0.tar.gz -C sts | ||
mkdir migration | ||
tar -xzvf Microsoft.SqlTools.Migration-osx-arm64-unsigned-net7.0.tar.gz -C migration | ||
displayName: 'Extract files' | ||
- script: | | ||
cd $(Agent.TempDirectory)/drop/sts | ||
codesign -s - MicrosoftSqlToolsCredentials | ||
codesign -s - MicrosoftSqlToolsServiceLayer | ||
codesign -s - SqlToolsResourceProviderService | ||
codesign -s - MicrosoftKustoServiceLayer | ||
cd $(Agent.TempDirectory)/drop/migration | ||
codesign -s - MicrosoftSqlToolsMigration | ||
displayName: 'Sign executables' | ||
- script: | | ||
cd $(Agent.TempDirectory)/drop/sts | ||
tar -czvf Microsoft.SqlTools.ServiceLayer-osx-arm64-net7.0.tar.gz * | ||
cd $(Agent.TempDirectory)/drop/migration | ||
tar -czvf Microsoft.SqlTools.Migration-osx-arm64-net7.0.tar.gz * | ||
displayName: 'Archive files' | ||
- script: | | ||
cp $(Agent.TempDirectory)/drop/sts/Microsoft.SqlTools.ServiceLayer-osx-arm64-net7.0.tar.gz $(Build.ArtifactStagingDirectory) | ||
cp $(Agent.TempDirectory)/drop/migration/Microsoft.SqlTools.Migration-osx-arm64-net7.0.tar.gz $(Build.ArtifactStagingDirectory) | ||
displayName: 'Copy files to drop folder' | ||
- task: PublishBuildArtifacts@1 | ||
displayName: 'Publish Artifact' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters