Preparing new release » History » Version 27
cryptogopher, 2022-07-24 21:20
1 | 1 | cryptogopher | h1. Preparing new release |
---|---|---|---|
2 | |||
3 | 23 | cryptogopher | # Sync locale strings across language files (add test to check for differences? or execute system tests in different locales?). |
4 | 21 | cryptogopher | # Make sure all tests pass on each merged issue branch, on all supported Redmine versions: |
5 | 27 | cryptogopher | ## (only before 1st run) prepare database: |
6 | <pre> |
||
7 | RAILS_ENV=test bundle exec rake db:drop db:create db:migrate redmine:plugins:migrate redmine:load_default_data |
||
8 | </pre> |
||
9 | 19 | cryptogopher | ## run tests: |
10 | <pre> |
||
11 | RAILS_ENV=test bundle exec rake redmine:plugins:test NAME=issue_recurring |
||
12 | 24 | cryptogopher | </pre> |
13 | 26 | cryptogopher | ## (only for Redmine 4.0) run system tests separately: |
14 | 24 | cryptogopher | <pre> |
15 | RAILS_ENV=test bundle exec ruby plugins/issue_recurring/test/system/issue_recurrences_test.rb |
||
16 | 20 | cryptogopher | </pre> |
17 | 11 | cryptogopher | # [[Common_git_operations#Merge-branch-into-master|Merge]] all outstanding branches into master. |
18 | # Rerun above tests on @master@ branch if there were: |
||
19 | ## multiple branches merged, |
||
20 | ## conflicts during merge. |
||
21 | 12 | cryptogopher | # Update source:README.md: *Features*, *Changelog* and compatibility list in *Installation* paragraphs. |
22 | 1 | cryptogopher | # Bump plugin version number in source:init.rb. |
23 | 5 | cryptogopher | # Commit and push changes. |
24 | 4 | cryptogopher | # Create and push git tag with new version number: |
25 | <pre> |
||
26 | $ git tag -a 1.1 |
||
27 | $ git push origin 1.1 |
||
28 | 1 | cryptogopher | </pre> |
29 | 16 | cryptogopher | # Close corresponding issues (if not closed by appropriate commit messages). |
30 | 1 | cryptogopher | # Update plugin information on https://redmine.org/plugins/issue-recurring |
31 | 14 | cryptogopher | # Add release news on IT https://it.michalczyk.pro/projects/issue-recurring/news |
32 | 17 | cryptogopher | # Add new version on IT https://it.michalczyk.pro/projects/issue-recurring/settings/versions |