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

fix: ignore beta; open pull request #570

Merged
merged 2 commits into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package_list=$(spack tags eic)
for p in ${package_list}; do
v=$(spack versions --new $p)
# ignore pre and rc versions (for all packages)
v=$(echo $v | sed 's/\S*\(rc\|pre\|alpha\)\S*//g')
v=$(echo $v | sed 's/\S*\(rc\|pre\|alpha\|beta\)\S*//g')
# using `echo $v` instead of "$v" will handle v=" " correctly
if [[ ! -z `echo $v` ]]; then
echo "- [ ] \`$p\`: \`$v\` " >> gh-new-version.log
Expand Down
18 changes: 0 additions & 18 deletions .github/scripts/post_new_version_issue_comment.sh

This file was deleted.

12 changes: 9 additions & 3 deletions .github/workflows/check-new-versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ jobs:
run: |
source /opt/spack/share/spack/setup-env.sh
spack repo add --scope site ${GITHUB_WORKSPACE}
.github/scripts/generate_new_version_issue.sh
.github/scripts/post_new_version_issue_comment.sh

.github/scripts/checksum_new_versions.sh
- name: Create pull request
uses: peter-evans/create-pull-request@v5
with:
branch-suffix: short-commit-hash
title: New package versions found
body: |
New package versions found
assignees: wdconinc