Skip to content

Commit

Permalink
Fis sed command
Browse files Browse the repository at this point in the history
  • Loading branch information
oryan-block committed May 5, 2021
1 parent 35fe946 commit d264a27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ bumpVersion() {
fi

echo "Next version: ${nextVersion}"
sed -i '0,/<version>.*<\/version>/s//<version>${nextVersion}<\/version>/' pom.xml
sed -i "0,/<version>.*<\/version>/s//<version>${nextVersion}<\/version>/" pom.xml

else
echo "No semantic version and therefore cannot publish to maven repository: '${APP_VERSION}'"
Expand Down

0 comments on commit d264a27

Please sign in to comment.