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

chore: cleanup release-latest-versions #13

Merged
merged 1 commit into from
Oct 1, 2023
Merged

chore: cleanup release-latest-versions #13

merged 1 commit into from
Oct 1, 2023

Conversation

szepeviktor
Copy link
Contributor

@szepeviktor szepeviktor commented Oct 1, 2023

Please consider using https://github.com/koalaman/shellcheck
It is a single binary.

@@ -34,7 +34,6 @@ done
do_release() {
local VERSION="$1"
local REPACK_VERSION="$2"
local SED_EXP
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused

Comment on lines +51 to +52
contents="$(jq --arg version "${VERSION}" '.require."wpackagist-plugin/wp-graphql" = $version' < source/composer.json)" \
&& echo "${contents}" > source/composer.json
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make it safe and indent line


echo "$(cat source/composer.json)"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Useless echo

Comment on lines -133 to +131
for i in {1..100}; do
for REPACK in {1..100}; do
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@justlevine justlevine changed the title Make release-latest-versions better chore: cleanup release-latest-versions Oct 1, 2023
@justlevine justlevine merged commit 19aa53d into AxeWP:main Oct 1, 2023
5 checks passed
@szepeviktor szepeviktor deleted the patch-1 branch October 1, 2023 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants