Preparing new release » History » Version 21
cryptogopher, 2019-11-29 00:10
1 | 1 | cryptogopher | h1. Preparing new release |
---|---|---|---|
2 | 1 | cryptogopher | |
3 | 21 | cryptogopher | # Sync locale strings across language files (add test to check for differences?). |
4 | 21 | cryptogopher | # Make sure all tests pass on each merged issue branch, on all supported Redmine versions: |
5 | 21 | cryptogopher | ## Redmine 3.4: silence warnings by adding @t.warning = false@ in description of plugins tests in _./lib/tasks/redmine.rake_: |
6 | 1 | cryptogopher | <pre> |
7 | 19 | cryptogopher | desc 'Runs the plugins integration tests.' |
8 | 19 | cryptogopher | Rake::TestTask.new :integration => "db:test:prepare" do |t| |
9 | 19 | cryptogopher | t.libs << "test" |
10 | 19 | cryptogopher | t.verbose = true |
11 | 19 | cryptogopher | t.warning = false |
12 | 19 | cryptogopher | t.pattern = "plugins/#{ENV['NAME'] || '*'}/test/integration/**/*_test.rb" |
13 | 19 | cryptogopher | end |
14 | 19 | cryptogopher | </pre> |
15 | 19 | cryptogopher | ## run tests: |
16 | 19 | cryptogopher | <pre> |
17 | 1 | cryptogopher | $ rake redmine:plugins:test NAME=issue_recurring |
18 | 20 | cryptogopher | </pre> |
19 | 11 | cryptogopher | # [[Common_git_operations#Merge-branch-into-master|Merge]] all outstanding branches into master. |
20 | 11 | cryptogopher | # Rerun above tests on @master@ branch if there were: |
21 | 11 | cryptogopher | ## multiple branches merged, |
22 | 11 | cryptogopher | ## conflicts during merge. |
23 | 12 | cryptogopher | # Update source:README.md: *Features*, *Changelog* and compatibility list in *Installation* paragraphs. |
24 | 1 | cryptogopher | # Bump plugin version number in source:init.rb. |
25 | 5 | cryptogopher | # Commit and push changes. |
26 | 4 | cryptogopher | # Create and push git tag with new version number: |
27 | 4 | cryptogopher | <pre> |
28 | 4 | cryptogopher | $ git tag -a 1.1 |
29 | 4 | cryptogopher | $ git push origin 1.1 |
30 | 1 | cryptogopher | </pre> |
31 | 16 | cryptogopher | # Close corresponding issues (if not closed by appropriate commit messages). |
32 | 1 | cryptogopher | # Update plugin information on https://redmine.org/plugins/issue-recurring |
33 | 14 | cryptogopher | # Add release news on IT https://it.michalczyk.pro/projects/issue-recurring/news |
34 | 17 | cryptogopher | # Add new version on IT https://it.michalczyk.pro/projects/issue-recurring/settings/versions |