about summary refs log tree commit diff stats
path: root/RELEASE_GUIDE.md
diff options
context:
space:
mode:
authorDmitry Podgorny <pasis.ua@gmail.com>2019-03-04 18:26:28 +0200
committerDmitry Podgorny <pasis.ua@gmail.com>2019-03-04 18:26:28 +0200
commit0f0659aa091ac78cbdf5a04084bda17b80469a8e (patch)
tree64bf905891314f2a46c23bcb6894f36824160829 /RELEASE_GUIDE.md
parentd0a1cae8e838ec9c6c1c3b8ee41225c247c12880 (diff)
downloadprofani-tty-0f0659aa091ac78cbdf5a04084bda17b80469a8e.tar.gz
autotools: fix `make dist` command
Now, `make dist` can be used for generating tarballs. It simplifies
making proper release tarballs. Also, it includes some files, that
are removed in RELEASE_GUIDE.md:
 - apidocs/
 - CHANGELOG
 - theme_template
It is a good idea to include such a kind of documentation.

Update RELEASE_GUIDE.md.
Diffstat (limited to 'RELEASE_GUIDE.md')
-rw-r--r--RELEASE_GUIDE.md47
1 files changed, 14 insertions, 33 deletions
diff --git a/RELEASE_GUIDE.md b/RELEASE_GUIDE.md
index 20686df9..90595583 100644
--- a/RELEASE_GUIDE.md
+++ b/RELEASE_GUIDE.md
@@ -20,14 +20,13 @@ Usually release candidates are tagged 0.6.0.rc1, 0.6.0.rc2 and tested for a week
 * Update profrc.example
 
 ## Creating artefacts
-* Clone the repository
 * Set the correct release version in configure.ac:
 
 ```
 AC_INIT([profanity], [0.6.0], [boothj5web@gmail.com])
 ```
 
-* Set the package status in configure ac:
+* Set the package status in configure.ac:
 
 ```
 PACKAGE_STATUS="release"
@@ -36,54 +35,36 @@ PACKAGE_STATUS="release"
 * Commit
 * Tag (0.6.0)
 * Push
-* Set version to next release
 
-```
-AC_INIT([profanity], [0.7.0], [boothj5web@gmail.com])
-```
-
-* Set the pacakge status back to dev
-
-```
-PACKAGE_STATUS="development"
-```
-
-* Create a branch for patch releases (0.6.patch)
-* Push
-* Clone the repository into a fresh folder and checkout the tag
+* Configure to generate fresh Makefile:
 
 ```
-git clone https://github.com/boothj5/profanity.git profanity-0.6.0
-cd profanity-0.6.0
-git checkout 0.6.0
+./bootstrap.sh && ./configure
 ```
 
-* Remove files not needed in the artefcat
+* Generate tarballs:
 
 ```
-rm -rf apidocs .git
-rm CHANGELOG configure-debug configure-plugins .gitignore profanity.spec prof.supp README.md theme_template travis-build.sh .travis.yml
+make dist
+make dist-bzip2
+make dist-xz
+make dist-zip
 ```
 
-* Bootstrap the build
+* Set version to next release:
 
 ```
-./bootstrap.sh
+AC_INIT([profanity], [0.7.0], [boothj5web@gmail.com])
 ```
 
-* Remove automake cache
+* Set the pacakge status back to dev:
 
 ```
-rm -rf autom4te.cache
+PACKAGE_STATUS="development"
 ```
 
-* Leave the folder and create the artefacts
-
-```
-cd ..
-tar -zcvf profanity-0.6.0.tar.gz profanity-0.6.0
-zip -r profanity-0.6.0.zip profanity-0.6.0
-```
+* Create a branch for patch releases (0.6.patch)
+* Push
 
 ## Updating website
   * Make changes to the git repo incuding uploading the new artefacts at: