Skip to content

Commit

Permalink
Fix command escaping
Browse files Browse the repository at this point in the history
  • Loading branch information
Sipkab committed May 17, 2020
1 parent 70e09c4 commit 3aa5519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ steps:
- script: |
set -e
TAGVER=$(echo $BUILD_SOURCEBRANCHNAME | sed -r 's/v(.*)/\1/')
sed -i -s 's/111.222.334.qualifier/$TAGVER.qualifier/g' META-INF/MANIFEST.MF
sed -i -s "s/111.222.334.qualifier/$TAGVER.qualifier/g" META-INF/MANIFEST.MF
echo "New version: $(cat META-INF/MANIFEST.MF | grep 'Bundle-Version:')"
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v')
displayName: 'Replace Bundle-Version'
Expand Down

0 comments on commit 3aa5519

Please sign in to comment.