Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2f3dde7

Browse files
committedNov 29, 2024·
Update release order
First test everything localy, then push & release.
1 parent 557def3 commit 2f3dde7

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed
 

‎docs/Release.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -18,35 +18,35 @@ Oxidized versions are nummered like major.minor.patch
1818
- minor is incremented when releasing new features.
1919
- patch is incremented when releasing fixes only.
2020

21-
## Release
21+
## Prepare the release in your working repository
2222
1. Checkout the master branch of oxidized. Make sure you are up to date with origin.
2323
2. Change the version in lib/oxidized/version.rb
2424
3. Change CHANGELOG.md to replace [Unreleased] with [0.xx.yy – 202Y-MM-DD]
2525
4. Run `git diff` to check your changes
2626
5. Commit the changes to the local git repository with a commit message “chore(release): release version 0.xx.yy”
2727
6. Tag the commit with `git tag -a 0.xx.yy -m "Release 0.xx.yy"`
28-
7. Push the change and the tag to github:
28+
7. Build the gem with ‘rake build’
29+
8. Run `git diff` to check if there have been more changes (there shouldn't)
30+
9. Install an test the gem locally
31+
```
32+
gem install --user-install pkg/oxidized-0.30.0.gem
33+
~/.local/share/gem/ruby/3.1.0/bin/oxidized
34+
```
35+
36+
## Release in github
37+
Push the change and the tag to github:
2938
```
3039
git push
3140
git push origin 0.xx.yy
3241
```
3342

34-
## Release in github
3543
Make a release from the tag in github
3644
- Thank the contributors
3745
- Only describe major changes, and refer to CHANGELOG.md
3846
- List new contributors (generated automatically)
3947

4048
## Release in rubygems
41-
1. Build the gem with ‘rake build’
42-
2. Install an test the gem locally
43-
```
44-
gem install --user-install pkg/oxidized-0.30.0.gem
45-
~/.local/share/gem/ruby/3.1.0/bin/oxidized
46-
```
47-
3. Push the gem with ‘rake push’
48-
49-
You need an account at rubygems which is allowed to push oxidized
49+
Push the gem with ‘rake push’
5050

5151
## Release in docker.io
5252
The OCI-Containter is automatically build and pushed to docker.io by github

0 commit comments

Comments
 (0)
Please sign in to comment.