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

Update release builder #283

Merged
merged 4 commits into from
Apr 14, 2021
Merged

Update release builder #283

merged 4 commits into from
Apr 14, 2021

Conversation

DarkSide666
Copy link
Member

@DarkSide666 DarkSide666 commented Oct 14, 2020

It does all release tasks except the updating "require". This can be done manually/later.

It can be triggered by pushing to "release/*" branch or to a branch suffixed with ".build".

It does then the changes a (force-)pushes the changes to branch with ".gen" suffix.

The release (on the generated branch) should be then checked and if ok, simply tagged with the release version.

@DarkSide666 DarkSide666 marked this pull request as draft October 14, 2020 10:04
@DarkSide666 DarkSide666 requested a review from mvorisek October 14, 2020 10:36
pr_reviewer: "romaninsh"
pr_assignee: "romaninsh"
github_token: ${{ secrets.GITHUB_TOKEN }}
#- name: pull-request
Copy link
Member

Choose a reason for hiding this comment

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

definitely do not comment out old code, simply remove the code

Copy link
Member Author

Choose a reason for hiding this comment

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

yes i will cleanup/remove at the end before merging

@@ -22,10 +22,12 @@ jobs:
# set proper version
#composer config version --unset
v=$(echo ${{ github.ref }} | cut -d / -f 4)
echo "::set-env name=version::$v"
#echo "::set-env name=version::$v"
Copy link
Member

Choose a reason for hiding this comment

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

composer.json Outdated
@@ -30,6 +30,7 @@
}
],
"version": "dev-develop",
"version-release": "#release_version#",
Copy link
Member

Choose a reason for hiding this comment

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

I belive, we should simply replace "dev-develop" directly and drop *-release keys completely, it will simplify the configs and mistakes in all repos

Copy link
Member Author

Choose a reason for hiding this comment

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

If replacing atk4 dev-develop is the only thing to replace, then maybe, but idea behind using *-release was that it can be used for any other possible changes which we need when releasing too.

Copy link
Member

Choose a reason for hiding this comment

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

I am quite sure yes, it is the only thing to replace. We should do that, to simplify that configs and prevent mistakes.

For development, there is require-dev, which should be enought :)

Copy link
Member

Choose a reason for hiding this comment

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

Agree with Michael and better use jq for editing

composer config version --unset

# set proper version
#composer config version --unset
Copy link
Member

Choose a reason for hiding this comment

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

If there is no reason I do not know, do rely on git tags.

@mvorisek mvorisek force-pushed the feature/fix-version branch 7 times, most recently from d8ee2e1 to c935624 Compare April 14, 2021 09:38
@mvorisek mvorisek changed the title Fix versioning Update release builder Apr 14, 2021
@mvorisek mvorisek marked this pull request as ready for review April 14, 2021 09:38
@mvorisek mvorisek added RTM and removed help wanted labels Apr 14, 2021
@mvorisek mvorisek force-pushed the feature/fix-version branch 3 times, most recently from 8a13b90 to 0e2a0f2 Compare April 14, 2021 09:44
@mvorisek mvorisek force-pushed the feature/fix-version branch 3 times, most recently from 28d40c7 to b3dde6c Compare April 14, 2021 11:57
@mvorisek mvorisek force-pushed the feature/fix-version branch from b3dde6c to dda1fdd Compare April 14, 2021 12:04
@mvorisek mvorisek merged commit 23520e3 into develop Apr 14, 2021
@mvorisek mvorisek deleted the feature/fix-version branch April 14, 2021 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants