-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrelease_steps.txt
More file actions
75 lines (66 loc) · 2.81 KB
/
release_steps.txt
File metadata and controls
75 lines (66 loc) · 2.81 KB
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
# Copyright (c) 2023 The University of Manchester
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
This is the steps used for release 7.0.0 using ubuntu
Assumes twine is installed and pypi accounts setup
Warning The pypi steps 7 and 10 can not be repeated so make sure test passed!
1. Update master/main locally on all repositories
2. Run automatic_make.sh (from parent)
3. Get Add pip freeze info from github actions prepare stage
4. cap key dependecies in setup cfg
- SpiNNUtils/setup.cfg numpy
- sPyNNaker/setup.cfg p
5. Update release.pl
- my $release = (release version)
- my $old_release = (version in master)
- my $release_name =
- my $is_release = 1
6. Update but NOT merge https://github.com/SpiNNakerManchester/IntegrationTests/pull/325
7. perl release.pl (from inside SupportScripts)
- This creates new branches with this release
- This updates version number as required.
- This does a new -python3 build
- This pushes the branches to github
# - This checks the readthedocs
- This script can be repeated in which case it delete previous branches
- check read the docs egg
- see if rtd check can be fixed
8. Check all github actions passed
Note Intergation tests branch prepared but not pushed
9. sh SupportScripts/testpypi.sh (from parent)
10. push Intergation test branch
11. Check test
12. Add pip freeze info from tests
13. Check version is correct in dist gz files
14. sh SupportScripts/pypi.sh (from parent)
15. edit self_hosted_tests.yml
- Python install from testpypi -> Python install from pypi
remove (*3) "-i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/"
if not a pre remove the -pre as well
16. Check Intergation Test
pre 17. fix
spinnaker_doc_version = "latest"
17. Update release.pl
- my $release = (version for master)
- my $old_release = (release version)
- my $release_name =
- my $is_release = 0
18. perl release.pl (from inside SupportScripts)
19. Change version in tag.pl (release version)
20. perl tag.pl (from inside SupportScripts)
21. remove pip freeze info
22. Any other changes like python versions ect
23. Create pull requests
24. merge PRs`
- In order as RTD fails until previous master egg has the new version
For Java in github do a new release and include JavaSpiNNaker/SpiNNaker-front-end/target/spinnaker-exe.jar