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

NAS-129729 / 24.10 / Do not error out if no app is to be published #24

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

Qubad786
Copy link
Contributor

Problem

We have a publish action whose usecase is to publish any apps which have been updated in our dev workflow for apps. However if no app update has been made and we attempt to publish it errors out saying relevant version already exists. This should be a safe operation.

Solution

If a version has been published already, let's not attempt to do that again hence making the publish action safe to use in the CI.

@Qubad786 Qubad786 requested a review from sonicaj June 25, 2024 15:27
@Qubad786 Qubad786 self-assigned this Jun 25, 2024
@bugclerk
Copy link

@bugclerk bugclerk changed the title Do not error out if no app is to be published NAS-129729 / 24.10 / Do not error out if no app is to be published Jun 25, 2024
@Qubad786 Qubad786 merged commit 5261576 into master Jun 25, 2024
2 checks passed
@Qubad786 Qubad786 deleted the NAS-129729 branch June 25, 2024 15:31
@bugclerk
Copy link

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Jun 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants