Skip to content

Fix create diffs #5

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

Merged
merged 1 commit into from
Mar 10, 2022
Merged

Fix create diffs #5

merged 1 commit into from
Mar 10, 2022

Conversation

vinzscam
Copy link
Member

Iterate through releases.json entries, using createApp if defined, otherwise the version defined as key

Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
@@ -62,7 +62,7 @@ jobs:
fetch-depth: 0
- name: Create new diffs
run: |
for version in $(jq -r 'keys |.[]' < releases.json); do
for version in $(jq -r 'to_entries |.[] | .value.createApp // .key' < releases.json); do
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
for version in $(jq -r 'to_entries |.[] | .value.createApp // .key' < releases.json); do
for version in $(jq -r 'to_entries |.[] | .value.createApp || .key' < releases.json); do

Right? 😁

Copy link
Member Author

@vinzscam vinzscam Mar 10, 2022

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Oh lawd, ok xP

@@ -62,7 +62,7 @@ jobs:
fetch-depth: 0
- name: Create new diffs
run: |
for version in $(jq -r 'keys |.[]' < releases.json); do
for version in $(jq -r 'to_entries |.[] | .value.createApp // .key' < releases.json); do
Copy link
Member

Choose a reason for hiding this comment

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

Oh lawd, ok xP

@vinzscam vinzscam merged commit c693ec9 into master Mar 10, 2022
@vinzscam vinzscam deleted the fix/create-diffs branch March 10, 2022 15:48
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