Skip to content

Commit

Permalink
squash! --force is required to ignore dev_releases/ dir, created duri…
Browse files Browse the repository at this point in the history
…ng final release

```
creating bosh release: create-bosh-release-action-test-boshrelease-0.1.0.tgz
 Git repository has local modifications:
  ?? dev_releases/
 ```
  • Loading branch information
o-orand committed Jan 17, 2024
1 parent 3355d61 commit 598813c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ fi

echo "creating bosh release: ${name}-${version}.tgz"
if [ "${release}" == "true" ]; then
bosh create-release --final --version="${version}" --tarball="${name}-${version}".tgz
bosh create-release --final --version="${version}" --tarball="${name}-${version}".tgz --force # --force is required to ignore dev_releases/ dir, created during final release
else
bosh create-release --force --timestamp-version --tarball="${name}-${version}".tgz
fi
Expand Down

0 comments on commit 598813c

Please sign in to comment.