ci(ff): support feature freeze automation#6584
Conversation
|
This pull request is now in conflicts. Could you fix it @v1v? 🙏 |
$ export PROJECT_OWNER="v1v"
export CURRENT_RELEASE="9.5.0"
export GITHUB_TOKEN=$(gh auth token)
export DRY_RUN=true
# Dry run first
mage release:runMajorMinor
🔍 DRY RUN MODE - No changes will be pushed
🚀 Starting major/minor release workflow for 9.5.0
Step 1: Preparing release files...
Preparing major/minor release for version 9.5.0
✓ Updated version to 9.5.0 in version/version.go
✓ Added backport rule for 9.5 to .mergify.yml
✓ Major/minor release preparation complete
Next steps:
1. Review changes: git diff
2. Create branch: mage release:createBranch
3. Create PR: mage release:createPR
Step 2: Creating release branch...
Creating release branch: 9.5
[DRY RUN] Would create branch 9.5 and commit changes
[DRY RUN] Would push to remote: origin
Step 3: Creating pull request...
[DRY RUN] Would create PR:
Title: [Release] 9.5.0
Head: 9.5
Base: main
✅ Major/minor release workflow complete for 9.5.0diff --git a/.mergify.yml b/.mergify.yml
index 67c6b8cf..031cefdf 100644
--- a/.mergify.yml
+++ b/.mergify.yml
@@ -270,3 +270,11 @@ pull_request_rules:
backport:
branches:
- "9.3"
+ - name: backport patches to 9.5 branch
+ conditions:
+ - merged
+ - label=backport-9.5
+ actions:
+ backport:
+ branches:
+ - "9.5"
diff --git a/version/version.go b/version/version.go
index f9febdb6..95b14148 100644
--- a/version/version.go
+++ b/version/version.go
@@ -6,4 +6,4 @@ package version
// DefaultVersion is the current release version of Fleet-server, this version must match the
// Elastic Agent version.
-const DefaultVersion = "9.4.0"
+const DefaultVersion = "9.5.0"Patch$ export PROJECT_OWNER="v1v"
export CURRENT_RELEASE="9.3.3"
export GITHUB_TOKEN=$(gh auth token)
export DRY_RUN=true
# Dry run first
mage release:runPatch
🔍 DRY RUN MODE - No changes will be pushed
🚀 Starting patch release workflow for 9.3.3
Preparing patch release files...
Preparing patch release for version 9.3.3
✓ Updated version to 9.3.3 in version/version.go
✓ Patch release preparation complete
✅ Patch release workflow complete for 9.3.3
Review changes and commit to the release branchI used diff --git a/version/version.go b/version/version.go
index f9febdb6..5408abfe 100644
--- a/version/version.go
+++ b/version/version.go
@@ -6,4 +6,4 @@ package version
// DefaultVersion is the current release version of Fleet-server, this version must match the
// Elastic Agent version.
-const DefaultVersion = "9.4.0"
+const DefaultVersion = "9.3.3" |
|
Buildkite test this |
|
This pull request is now in conflicts. Could you fix it @v1v? 🙏 |
1 similar comment
|
This pull request is now in conflicts. Could you fix it @v1v? 🙏 |
|
@copilot resolve the merge conflicts in this pull request |
|
Replaced by #7339 |
What is the problem this PR solves?
This PR migrates the fleet-server release automation from Makefile-based scripts to a pure Go implementation using Mage, eliminating all external tool dependencies.
✨ Key Features
How does this PR solve the problem?
Move away from centralised approach but support the FF automation as part of #6343
How to test this PR locally
Design Checklist
Checklist
./changelog/fragmentsusing the changelog toolRelated issues
Auotmate releases like https://github.com/elastic/fleet-server/issues?q=sort%3Aupdated-desc%20state%3Aclosed%20label%3Arelease