summaryrefslogtreecommitdiff
path: root/release-bugfix-only.txt
blob: ebfda5d7d16c75037f018d58eb5eaf9869ae85e5 (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
- Create X.Y branch if first bugfix release

  git branch X.Y X.Y.0
  git checkout X.Y

- See if makes sense to cherry-pick other fixes/changes

- Update NEWS if anything major, commit

- Update version in manifest, cli.sh, commit and push:

  git ci -a -m "Bump version to X.Y.N"
  git push

- Regenerate odb.sh, cli.sh

- If need to rebuild build2-toolchain:

  - Create branch as above, then:

    git submodule update --checkout

  - Add the branch value for each entry in .gitmodules:

    branch = X.Y

  - Then checkout and commit updated submodules:

    git submodule update --remote <submodule>

  - Update version in manifest as above

  - Regenerate odb.sh (may need to checkout old version or copy old),
    cli.sh as above.

- Dist to queue:

  etc/stage-pkg -q -d -c <group> <proj>

  If need to dist build2-toolchain, then rename X.Y.N-1 to X.Y.N in
  private/baseutils, then:

  etc/stage -b -p

  Verify build2-toolchain works by building locally.

- @@ TODO: Test queue.

- Move package from queue to the appropriate repository, normally
  replacing the old package.

- Regenerate the repository and publish (remove -p if also publishing
  build2-toolchain):

    cd cppget.org
    git -C repository add .
    git -C repository status
    ./update

    cd ..
    etc/publish -p

- Update download links if changed build2-toolchain.

- Tag the bugfix release:

  git tag -a X.Y.Z -m "Tag version X.Y.Z"

  Also in build2-toolchain if applicable.

- Commit cppget.org/repository/ (see history for procedure)

- Write and send announcements, remember to include checksum.

- Switch back to master and regenerate cli.sh/odb.sh