Difference between revisions of "Release production"

From GeopsyWiki
Jump to navigation Jump to search
 
(41 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Testing ==
+
== Version setup ==
  
For Windows and Source distributions, the build process is tested automatically every night. [https://download.geopsy.org/log Daily reports]
+
* Commit all changes
  
For Mac OS X, the process is also automatic but it does not run independently on a dedicated server. Instead, it is run manually (buying and installing a dedicated server, e.g. a Mac Mini would be enough, would rather help).
+
  dpsubcommit
+
  dpsubpush
== Tagging ==
+
 
 +
* Check [http://www.geopsy.org/versions versions] and eventually run version script
 +
* Update configure scripts (hard coded version)
 +
 
 +
  dpsubconfig -g
  
=== Version tags ===
+
* Commit individual versions
 +
 
 +
  dpsubdo dpversion c
 +
 
 +
If it fails, proceed to manual commit with
 +
 
 +
  dpsubcommit
 +
 
 +
The usual message for new versions is "Version X.Y.Z"
 +
 
 +
* Tag
  
 
   dpsubdo dpversion t
 
   dpsubdo dpversion t
   dpsubpush
+
   dpsubdo git tag -a geopsypack-3.3.1 -m "Release Geopsy Pack 3.3.1"
 
+
  dpsubpush -f
=== Geopsy Pack tags ===
 
  
Once all tests report success, set all version numbers as explained [[Version management]].
+
* Update distribution repositories
  
Tag all sub projects
+
  cd geopsypack
 +
  dpversion A B or C
 +
  dpgitconfigure
  
  dpsubdo git tag -a geopsypack-2.1.0 -m "Release Geopsy Pack 2.1.0"
+
* Start compilation servers manually or wait for night build
  dpsubpush
 
  
Tag list of projects and general options. Before tagging, check that the version of the project list has been properly changed !
+
== Release Notes ==
  
  cd admin
+
Release notes are built from commit comments.
  git tag -a geopsypack-2.1.0 -m "Release Geopsy Pack 2.1.0"
 
  dppush
 
  
== Publishing ==
+
dpsubreleasenotes 2.2.1 2.3.0
  
On Source and Windows server:
+
Eventually edit the final file before its publication:
  
  cd windows
+
scp release_notes-2.3.0 geopsy.org:/var/www/geopsy/htdocs/release_notes
  dpfacpublish
 
  
  cd sources
+
== Publishing ==
  dpfacpublish
 
  
On Mac OS X:
+
* Connect on geopsy.org
 +
* Run in build directory
  
   cd devel
+
   ./publish src 3.4
  dpfacpublish
 
  
== Updating Qt Libraries ==
+
and
  
(To edit once Qt will release 4.5.1)
+
  ./publish win64 3.4

Latest revision as of 15:34, 3 May 2021

Version setup

  • Commit all changes
 dpsubcommit
 dpsubpush
  • Check versions and eventually run version script
  • Update configure scripts (hard coded version)
 dpsubconfig -g
  • Commit individual versions
 dpsubdo dpversion c

If it fails, proceed to manual commit with

 dpsubcommit

The usual message for new versions is "Version X.Y.Z"

  • Tag
 dpsubdo dpversion t
 dpsubdo git tag -a geopsypack-3.3.1 -m "Release Geopsy Pack 3.3.1"
 dpsubpush -f
  • Update distribution repositories
 cd geopsypack
 dpversion A B or C
 dpgitconfigure
  • Start compilation servers manually or wait for night build

Release Notes

Release notes are built from commit comments.

dpsubreleasenotes 2.2.1 2.3.0

Eventually edit the final file before its publication:

scp release_notes-2.3.0 geopsy.org:/var/www/geopsy/htdocs/release_notes

Publishing

  • Connect on geopsy.org
  • Run in build directory
 ./publish src 3.4

and

  ./publish win64 3.4