Skip to content
Snippets Groups Projects
Commit 45f56819 authored by Simon Pasquier's avatar Simon Pasquier
Browse files

chore: fix versions action

parent b102f7b5
No related branches found
No related tags found
No related merge requests found
...@@ -31,10 +31,15 @@ jobs: ...@@ -31,10 +31,15 @@ jobs:
# Write to temporary file to make update atomic # Write to temporary file to make update atomic
scripts/generate-versions.sh > /tmp/versions.json scripts/generate-versions.sh > /tmp/versions.json
mv /tmp/versions.json jsonnet/kube-prometheus/versions.json mv /tmp/versions.json jsonnet/kube-prometheus/versions.json
# Display the raw diff between versions.
git diff
# Get the links to the changelogs of the updated versions and make them # Get the links to the changelogs of the updated versions and make them
# available to the reviewers # available to the reviewers
new_changelogs=$(scripts/get-new-changelogs.sh) {
echo "new_changelogs=$new_changelogs" >> $GITHUB_OUTPUT echo 'new_changelogs<<EOF'
echo $(scripts/get-new-changelogs.sh)
echo EOF
} >> $GITHUB_OUTPUT
if: matrix.branch == 'main' if: matrix.branch == 'main'
- name: Update jsonnet dependencies - name: Update jsonnet dependencies
run: | run: |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment