summaryrefslogtreecommitdiffstats
path: root/docs/release-instructions.txt
blob: aed7fb5e9a7dcf0dc173628b63ee6e86985e9a16 (plain)
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
Release checklist overview:

  1) update changlelog
  2) check all changes into git and push upstream
  3) properly tag git tree with signature
  4) check release into fedora cvs
  5) do build for -devel
  6) do build for F-7, push to testing, then stable
  7) do a build for FC-6


In the mock git tree, first ensure that you are:
  --> on the master branch (or correct branch per branching guidelines)
  --> updated changelog
  --> fully-up-to-date wrt official tree
  --> have no local changes that havent been pushed
  --> test build rpm
  --> tag build and push tag

  $ git status
  # On branch master
  nothing to commit (working directory clean)

  $ git pull
  Already up-to-date.

  $ git diff origin

  $ make rpm
    ...
  Wrote: /.../mock/dist/mock-0.7.5-1.fc7.src.rpm
  Wrote: /.../mock/dist/x86_64/mock-0.7.5-1.fc7.x86_64.rpm
  Wrote: /.../mock/dist/x86_64/mock-debuginfo-0.7.5-1.fc7.x86_64.rpm

  $ git tag -s mock-$VERSION


In the fedora CVS tree:
  --> update CVS to latest
  --> upload new source tarball
  --> merge in spec changes
  --> ensure good changelog

  $ cd fedora/mock
  $ cvs up

  $ cd devel
  $ make new-sources FILES=~/git/mock/mock-0.7.5.tar.gz 
  $ cp ~/git/mock/mock.spec .
  $ cvs diff mock.spec
     --> if spec was changed outside of git directly in fedora cvs, fixup and merge changes in, add changes back to git
     --> if there is no changelog entry, do one now.
  $ make clog
  $ cvs commit -F clog
  $ make tag
  $ make build

  $ cd ../F-7
  $ make new-sources FILES=~/git/mock/mock-0.7.5.tar.gz 
  $ cp ~/git/mock/mock.spec .
  $ cvs diff mock.spec
     --> if spec was changed outside of git directly in fedora cvs, fixup and merge changes in, add changes back to git
     --> if there is no changelog entry, do one now.
  $ make clog
  $ cvs commit -F clog
  $ make tag
  $ make build
 
# in Bodhi
  --> create a proposed update for F7
  --> push to testing
  --> wait for email saying it has been two weeks and would be a good time to push to stable. :)
  --> push to stable

# in fedora CVS tree:
  --> update F6 (try to ensure that we do F7/devel upgrades first to not break upgrade paths.)

  $ cd fedora/mock
  $ cvs up

  $ cd ../FC-6
  $ make new-sources FILES=~/git/mock/mock-0.7.5.tar.gz 
  $ cp ~/git/mock/mock.spec .
  $ cvs diff mock.spec
     --> if spec was changed outside of git directly in fedora cvs, fixup and merge changes in, add changes back to git
     --> if there is no changelog entry, do one now.
  $ make clog
  $ cvs commit -F clog
  $ make tag
  $ make build