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

Handling releases with versioned assets #370

Merged
merged 9 commits into from
Dec 8, 2023

Conversation

spaceo
Copy link
Contributor

@spaceo spaceo commented Dec 6, 2023

Link to issue

https://reload.atlassian.net/browse/DDFLSBP-328

Description

Splitting deployment into two workflows
One for handling releases invoked by tagging.
Another for PR changes.

The original idea was to to make the pr create a tag which the other workflow would react upon. But that flow is not directly supported.

The bundle script has been expanded to support writing a version file.

One for handling releases invoked by tagging.
Another for PR changes.

The original idea was to to make the pr create a tag which the other
workflow would react upon. But that flow is not directly supported.

The bundle script has been expanded to support writing a version file.
.github/workflows/create-release-on-pr-changes.yml Outdated Show resolved Hide resolved
.github/workflows/create-release-on-pr-changes.yml Outdated Show resolved Hide resolved
.github/workflows/create-release-on-pr-changes.yml Outdated Show resolved Hide resolved
.github/workflows/create-release-on-pr-changes.yml Outdated Show resolved Hide resolved
bundle.sh Show resolved Hide resolved
.github/workflows/create-release-on-pr-changes.yml Outdated Show resolved Hide resolved
Of course we need fixed versions
Since the tagname comes from the branch name of the latest commit we
cannot be sure of the format. So I am afraid of edge cases with weird
chars.
@spaceo spaceo force-pushed the DDFLSBP-328-tagged-dependencies-for-better-release branch from d63d6a2 to 224e8da Compare December 8, 2023 09:17
We want it also to happen to merges to eg. develop so there is no need
to restrict it to PR's only.
And Dependabot should not create release :)
So it reflects what it does ¯\_(ツ)_/¯
@spaceo spaceo force-pushed the DDFLSBP-328-tagged-dependencies-for-better-release branch from 224e8da to 49c26d4 Compare December 8, 2023 09:23
@spaceo spaceo force-pushed the DDFLSBP-328-tagged-dependencies-for-better-release branch 4 times, most recently from 02bd9af to eea1b5c Compare December 8, 2023 11:02
@spaceo spaceo force-pushed the DDFLSBP-328-tagged-dependencies-for-better-release branch from eea1b5c to 6f1854a Compare December 8, 2023 11:08
@spaceo spaceo requested a review from kasperg December 8, 2023 11:12
Copy link
Contributor

@kasperg kasperg left a comment

Choose a reason for hiding this comment

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

👍 Let's roll!

@spaceo spaceo merged commit 0233571 into develop Dec 8, 2023
14 checks passed
@spaceo spaceo deleted the DDFLSBP-328-tagged-dependencies-for-better-release branch December 8, 2023 11:26
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