Preparing new release » History » Version 31
cryptogopher, 2022-09-10 20:39
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 | 28 | cryptogopher | ## Start in Redmine's directory: |
6 | <pre> |
||
7 | cd /var/lib/redmine |
||
8 | </pre> |
||
9 | 27 | cryptogopher | ## (only before 1st run) prepare database: |
10 | <pre> |
||
11 | 31 | cryptogopher | RAILS_ENV=test bundle exec rake db:drop db:create db:migrate redmine:plugins:migrate |
12 | RAILS_ENV=test bundle exec rake redmine:load_default_data |
||
13 | 27 | cryptogopher | </pre> |
14 | 19 | cryptogopher | ## run tests: |
15 | <pre> |
||
16 | RAILS_ENV=test bundle exec rake redmine:plugins:test NAME=issue_recurring |
||
17 | 24 | cryptogopher | </pre> |
18 | 30 | cryptogopher | ## (optionally) rerun failing tests separately: |
19 | 24 | cryptogopher | <pre> |
20 | 29 | cryptogopher | RAILS_ENV=test bundle exec ruby plugins/issue_recurring/test/integration/issue_recurrences_test.rb --name test_create_recurrence --verbose |
21 | 20 | cryptogopher | </pre> |
22 | 11 | cryptogopher | # [[Common_git_operations#Merge-branch-into-master|Merge]] all outstanding branches into master. |
23 | # Rerun above tests on @master@ branch if there were: |
||
24 | ## multiple branches merged, |
||
25 | ## conflicts during merge. |
||
26 | 12 | cryptogopher | # Update source:README.md: *Features*, *Changelog* and compatibility list in *Installation* paragraphs. |
27 | 1 | cryptogopher | # Bump plugin version number in source:init.rb. |
28 | 5 | cryptogopher | # Commit and push changes. |
29 | 4 | cryptogopher | # Create and push git tag with new version number: |
30 | <pre> |
||
31 | $ git tag -a 1.1 |
||
32 | $ git push origin 1.1 |
||
33 | 1 | cryptogopher | </pre> |
34 | 16 | cryptogopher | # Close corresponding issues (if not closed by appropriate commit messages). |
35 | 1 | cryptogopher | # Update plugin information on https://redmine.org/plugins/issue-recurring |
36 | 14 | cryptogopher | # Add release news on IT https://it.michalczyk.pro/projects/issue-recurring/news |
37 | 17 | cryptogopher | # Add new version on IT https://it.michalczyk.pro/projects/issue-recurring/settings/versions |