Skip to content

Commit

Permalink
Merge pull request #8859 from Al3xR01/topic/mv_deb_artifact
Browse files Browse the repository at this point in the history
AZP/RELEASE: Move back to the working directory
  • Loading branch information
yosefe authored Feb 10, 2023
2 parents 5deaf72 + 50a154e commit 48065ed
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions buildlib/az-distro-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,10 @@ jobs:
cd $(tar tf ${tarball} | head -1) # go to extracted tarball directory
echo 10 > debian/compat # https://www.debian.org/doc/manuals/maint-guide/dother.en.htmdpl#compat
dpkg-buildpackage -us -uc
find .. -name '*.deb'
find .. -name '*.deb' -exec cp {} "../${AZ_ARTIFACT_NAME}" \;
dpkg-deb -I "../${AZ_ARTIFACT_NAME}"
cd .. # Move back to the working directory
find . -name '*.deb'
find . -name '*.deb' -exec cp {} "${AZ_ARTIFACT_NAME}" \;
dpkg-deb -I "${AZ_ARTIFACT_NAME}"
displayName: Build DEB package
condition: and(succeeded(), contains(variables['artifact_name'], 'ubuntu'))
env:
Expand Down

0 comments on commit 48065ed

Please sign in to comment.