release.rst 1.85 KB
Newer Older
fv3rdugo's avatar
fv3rdugo committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
Steps to release
================

Draft
=====

Draft the release
-----------------

At code -> releases draft a new release

-  tag version : v0.2.2
-  release title : v0.2.2

Create the milestone
--------------------

At the *issues* section , create a milestone. Name it like the tag
version: 0.2.2. There must be a way to link it to the *tag* , I just
don't know how.

Create issues
-------------

Assign issues to the milestone

Close
=====

Close the milestone
-------------------

Check the milestone has no open issues and close it.

Update the authors
------------------

::

    $ git checkout master
    $ cd templates/bootstrap/
    $ ./get_authors.sh

It will create a file *authors.html.ep*, review it and commit it.

::

    $ git commit authors.html.ep
    $ cd ../..

Update the release number
-------------------------

In Ravada.pm
~~~~~~~~~~~~

Modify *lib/Ravada.pm* around line 5:

::

    our $VERSION = '0.2.5';

Modify the Changelog
--------------------

Check the last issues closed for this milestone and add them to the
Changelog file:

::

    $ git checkout master
    $ gvim Changelog.md
    $ git commit -a

Create a branch
---------------

::

    $ git checkout master
    $ git checkout -b 0.2.2
    $ git push --set-upstream origin 0.2.2

Close the release
-----------------

Make sure the target is the same as the branch, not the master. Close
the release at:

-  Close the Milestone
-  Close the Release

Release binary
==============

Debian
------

Create the *debian* package.

::

    $ fakeroot ./deb/debianize.pl
    $ lintian ravaa_0.2.2_all.deb

Upload the file to our repo and change the number at:

::

    https://github.com/UPC/ravada/blob/master/docs/INSTALL.md

    $ git checkout master
    $ git merge v0.2.5
    $ gvim docs/INSTALL.md
    $ git commit -a
    $ git push

Publish
=======

-  Tweet it
-  Change the release in gh-pages