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

github: fix "Generate next docker tag" log output #105

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

stefano-garzarella
Copy link
Member

Summary of the PR

The current output of the "Generate next docker tag" step is:

Run echo "VERSION=$(./docker.sh print-next-version)" >> $GITHUB_ENV
Next version to be published is:

The next version is not printed, because $GITHUB_ENV is loaded at the next step. So at this point we cannot access variables that we are setting in this step.

Use a temporary NEXT_VERSION variable where we save the next version to print it correctly.

The current output of the "Generate next docker tag" step is:

    Run echo "VERSION=$(./docker.sh print-next-version)" >> $GITHUB_ENV
    Next version to be published is:

The next version is not printed, because `$GITHUB_ENV` is loaded at
the next step. So at this point we cannot access variables that we
are setting in this step.

Use a temporary NEXT_VERSION variable where we save the next version
to print it correctly.

Signed-off-by: Stefano Garzarella <[email protected]>
Copy link
Collaborator

@roypat roypat left a comment

Choose a reason for hiding this comment

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

Ah, i was wondering why this didn't work. Thanks for fixing!

@alxiord alxiord merged commit 2dc3b8c into rust-vmm:main Jul 25, 2024
2 checks passed
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.

3 participants