Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
rename file
Browse files Browse the repository at this point in the history
  • Loading branch information
Cecile Robert-Michon committed Mar 4, 2019
1 parent 9e50509 commit 49ddce7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pipelines/vhd-builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ phases:
- task: PublishPipelineArtifact@0
inputs:
artifactName: 'vhd-release-notes'
targetPath: 'release-notes-trimmed.txt'
targetPath: 'release-notes.txt'
- script: |
OS_DISK_SAS="$(cat packer-output | grep "OSDiskUriReadOnlySas:" | cut -d " " -f 2)" && \
VHD_NAME="$(echo $OS_DISK_SAS | cut -d "/" -f 8 | cut -d "?" -f 1)" && \
Expand Down
2 changes: 1 addition & 1 deletion packer.mk
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ generate-sas: az-login
az storage container generate-sas --name vhds --permissions lr --connection-string "${CLASSIC_SA_CONNECTION_STRING}" --start ${START_DATE} --expiry ${EXPIRY_DATE} | tr -d '"' | tee -a vhd-sas && cat vhd-sas

make vhd-notes:
awk '/START_OF_NOTES/{y=1;next}y' packer-output > release-notes.txt && awk '/END_OF_NOTES/ {exit} {print}' release-notes.txt | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[mGK]//g" > release-notes-trimmed.txt && sed -e s/azure-arm://g -i release-notes-trimmed.txt && cat release-notes-trimmed.txt
awk '/START_OF_NOTES/{y=1;next}y' packer-output > release-notes-raw.txt && awk '/END_OF_NOTES/ {exit} {print}' release-notes-raw.txt | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[mGK]//g" > release-notes.txt && sed -e s/azure-arm://g -i release-notes.txt && cat release-notes.txt

0 comments on commit 49ddce7

Please sign in to comment.