Skip to content

Commit

Permalink
fix: release.sh set_version contaminating files
Browse files Browse the repository at this point in the history
  • Loading branch information
iocanel committed Oct 21, 2023
1 parent 73d98a2 commit 28b7e18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ fi
function set_version() {
local file=$1
docker run -v `pwd`:/ws --workdir=/ws -i quay.io/jbangdev/jbang-action ./scripts/ChangeVersion.java ${file} io.dekorate $release_version > ${file}.versionChanged
mv ${file}.versionChanged ${file}
tail -n +2 ${file}.versionChanged > ${file}
rm ${file}.versionChanged
git add ${file}
}

Expand Down

0 comments on commit 28b7e18

Please sign in to comment.