Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed release action #519

Merged
merged 1 commit into from
Feb 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions .github/workflows/package-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ jobs:
for pkg_dir in ${{ needs.package-filter.outputs.list }}
do
echo "Bumping version for ${pkg_dir}"
echo "cd-ing to ${pkg_dir}"
cd "${pkg_dir}"
# check if the package has a dev version
if [[ "$(cat VERSION)" != *dev* ]]
Expand All @@ -111,12 +110,7 @@ jobs:
echo "::error::${msg}" && exit 1
fi
else
bump2version release --no-commit
fi

# check if the package has been released and update the output
if [[ $(git status --porcelain) ]]
then
bump2version release --no-commit --allow-dirty
released_packages="${released_packages} ${pkg_dir}"
fi
cd ${cur_dir}
Expand Down
Loading