mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Removing quality addition in naming and move to compile step (#10114)
* removing quality addition in naming and move to compile step * fix yml
This commit is contained in:
@@ -11,12 +11,6 @@ BUILD="$ROOT/$BUILDNAME"
|
||||
TARBALL_FILENAME="azuredatastudio-$PLATFORM_LINUX.tar.gz"
|
||||
TARBALL_PATH="$REPO/.build/linux/archive/$TARBALL_FILENAME"
|
||||
|
||||
# create version
|
||||
PACKAGEJSON="$BUILD/resources/app/package.json"
|
||||
VERSION=$(node -p "require(\"$PACKAGEJSON\").version")
|
||||
COMMIT_ID=$(git rev-parse HEAD)
|
||||
echo -e "{ \"version\": \"$VERSION\", \"quality\": \"$VSCODE_QUALITY\", \"commit\": \"$COMMIT_ID\" }" > "$REPO/.build/version.json"
|
||||
|
||||
rm -rf $ROOT/code-*.tar.*
|
||||
(cd $ROOT && tar -czf $TARBALL_PATH $BUILDNAME)
|
||||
|
||||
|
||||
@@ -20,10 +20,6 @@ $TarballFilename = "azuredatastudio-linux-$Arch.tar.gz"
|
||||
$TarballPath = "$artifactsDir\linux\archive\$TarballFilename"
|
||||
$TarballUploadName = "azuredatastudio-linux-$Version"
|
||||
|
||||
If (-NOT ($Quality -eq "stable")) {
|
||||
$TarballUploadName = "$TarballUploadName-$Quality"
|
||||
}
|
||||
|
||||
node $sourcesDir\build\azure-pipelines\common\publish.js $Quality $PlatformLinux archive-unsigned "$TarballUploadName.tar.gz" $Version true $TarballPath $CommitId
|
||||
|
||||
# Publish DEB
|
||||
@@ -32,10 +28,6 @@ $DebFilename = "$(Get-ChildItem -File -Name $artifactsDir\linux\deb\amd64\deb\*.
|
||||
$DebPath = "$artifactsDir\linux\deb\amd64\deb\$DebFilename"
|
||||
$DebUploadName = "azuredatastudio-linux-$Version"
|
||||
|
||||
If (-NOT ($Quality -eq "stable")) {
|
||||
$DebUploadName = "$DebUploadName-$Quality"
|
||||
}
|
||||
|
||||
node $sourcesDir\build\azure-pipelines\common\publish.js $Quality $PlatformDeb package "$DebUploadName.deb" $Version true $DebPath $CommitId
|
||||
|
||||
# Publish RPM
|
||||
@@ -44,8 +36,4 @@ $RpmFilename = "$(Get-ChildItem -File -Name $artifactsDir\linux\rpm\x86_64\*.rpm
|
||||
$RpmPath = "$artifactsDir\linux\rpm\x86_64\$RpmFilename"
|
||||
$RpmUploadName = "azuredatastudio-linux-$Version"
|
||||
|
||||
If (-NOT ($Quality -eq "stable")) {
|
||||
$RpmUploadName = "$RpmUploadName-$Quality"
|
||||
}
|
||||
|
||||
node $sourcesDir\build\azure-pipelines\common\publish.js $Quality $PlatformRpm package "$RpmUploadName.rpm" $Version true $RpmPath $CommitId
|
||||
|
||||
Reference in New Issue
Block a user