Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
Release
Commits
39c4ff3f
Commit
39c4ff3f
authored
7 years ago
by
totten
Browse files
Options
Downloads
Patches
Plain Diff
Adapt 4.7-final instructions to 4.6-final
parent
ae53678d
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
doc/4.6-final.md
+82
-1
82 additions, 1 deletion
doc/4.6-final.md
doc/4.7-final.md
+1
-1
1 addition, 1 deletion
doc/4.7-final.md
doc/4.7-rc.md
+2
-1
2 additions, 1 deletion
doc/4.7-rc.md
with
85 additions
and
3 deletions
doc/4.6-final.md
+
82
−
1
View file @
39c4ff3f
TODO
\ No newline at end of file
# CiviCRM v4.6.x: Publish a final release
## Pre-requisites
*
Installed+configured
[
Google Cloud SDK
](
https://cloud.google.com/sdk/downloads
)
. (Run
`gcloud init`
,
`gcloud auth activate-service-account --key-file ...`
, or similar.)
*
Write access to all main CiviCRM GitHub repos (
`civicrm-{core,packages,backdrop,drupal,joomla,wordpress}`
)
*
Write access to Google Cloud Storage (
`civicrm`
and
`civicrm-build`
buckets)
*
Write access to SourceForge account (
`civicrm`
)
*
Import the CiviCRM GPG keypair (
`7A1E75CB`
)
*
Local copy of
[
buildkit
](
https://github.com/civicrm/civicrm-buildkit/
)
*
Local clones of all main CiviCRM git repos (e.g.
`mkdir src; cd src; gitify all --skip-gencode`
or
`cividist create dist`
)
The user
`releaser`
on
`latest.civicrm.org`
has a suitable configuration in
`~/src/4.6`
.
## Identify the final RC
Determine the identity of the final release candidate:
```
gsutil ls gs://civicrm-build/4.6/*json
```
For example, we might pick
`gs://civicrm-build/4.6/civicrm-4.6.28-201705030600.json`
.
## Publish
You can do the full process in one command:
```
cd /path/to/civicrm
releaser gs://civicrm-build/4.6/civicrm-4.6.28-201705030600.json --get --sign --tag --publish
```
or do the steps individually:
```
cd /path/to/civicrm
## Get the RC tarballs
releaser gs://civicrm-build/4.6/civicrm-4.6.28-201705030600.json --get
## Generate signatures for tarballs
releaser gs://civicrm-build/4.6/civicrm-4.6.28-201705030600.json --sign
## Generate tags (dry run)
releaser gs://civicrm-build/4.6/civicrm-4.6.28-201705030600.json --tag -n
## Publish tarballs (dry run)
releaser gs://civicrm-build/4.6/civicrm-4.6.28-201705030600.json --publish -n
## Tag (really)
releaser gs://civicrm-build/4.6/civicrm-4.6.28-201705030600.json --tag -f
## Publish (really)
releaser gs://civicrm-build/4.6/civicrm-4.6.28-201705030600.json --publish
```
Internally, these commands will:
*
Copy and rename the build artifacts for
`civicrm-4.6.28-*201705030600*`
*
Generate and sign the MD5SUMS
*
Push
`git`
tags in each repo
*
Fetch each
`git`
repo
*
Determine the
`git`
commits used in this build
*
Create tags for each repo
*
Push tags for each repo
*
Publish the tarballs through the primary, long-term distribution channels
*
Copy the corresponding tarballs to Google Cloud
*
Copy the corresponding tarballs to Sourceforge
## Set default on `civicrm.org` (WIP)
... updating versions.json...
## Bump version
```
cd ~/src/4.6
git checkout 4.6
git pull --ff-only origin 4.6
./tools/bin/scripts/set-version.php 4.6.Y --commit
git push origin 4.6
```
This diff is collapsed.
Click to expand it.
doc/4.7-final.md
+
1
−
1
View file @
39c4ff3f
...
...
@@ -10,7 +10,7 @@
*
Local copy of
[
buildkit
](
https://github.com/civicrm/civicrm-buildkit/
)
*
Local clones of all main CiviCRM git repos (e.g.
`mkdir src; cd src; gitify all --skip-gencode`
or
`cividist create dist`
)
The user
`releaser`
on
`latest.civicrm.org`
has a suitable configuration in
`~/src`
.
The user
`releaser`
on
`latest.civicrm.org`
has a suitable configuration in
`~/src
/4.7
`
.
## Identify the final RC
...
...
This diff is collapsed.
Click to expand it.
doc/4.7-rc.md
+
2
−
1
View file @
39c4ff3f
...
...
@@ -78,6 +78,7 @@ The original branch, "master", should continue development with the next version
```
bash
cd
~/buildkit/build/dist/src
git checkout master
git pull origin master
git pull
--ff-only
origin master
./tools/bin/scripts/set-version.php 4.7.Y
--commit
git push origin master
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment