Preparing new release » History » Version 19
cryptogopher, 2019-11-28 22:28
| 1 | 1 | cryptogopher | h1. Preparing new release |
|---|---|---|---|
| 2 | |||
| 3 | 19 | cryptogopher | # Silence warnings (Redmine creates many of them) and make sure all tests pass on each merged issue branch, on all supported Redmine versions: |
| 4 | ## make sure _./lib/tasks/redmine.rake_ contains @t.warning = false@ in description of plugins tests: |
||
| 5 | 1 | cryptogopher | <pre> |
| 6 | 19 | cryptogopher | desc 'Runs the plugins integration tests.' |
| 7 | Rake::TestTask.new :integration => "db:test:prepare" do |t| |
||
| 8 | t.libs << "test" |
||
| 9 | t.verbose = true |
||
| 10 | t.warning = false |
||
| 11 | t.pattern = "plugins/#{ENV['NAME'] || '*'}/test/integration/**/*_test.rb" |
||
| 12 | end |
||
| 13 | </pre> |
||
| 14 | ## run tests: |
||
| 15 | <pre> |
||
| 16 | $ rake redmine:plugins:test NAME=issue_recurring |
||
| 17 | 1 | cryptogopher | </pre> |
| 18 | 18 | cryptogopher | # Sync locale strings across language files. |
| 19 | 11 | cryptogopher | # [[Common_git_operations#Merge-branch-into-master|Merge]] all outstanding branches into master. |
| 20 | # Rerun above tests on @master@ branch if there were: |
||
| 21 | ## multiple branches merged, |
||
| 22 | ## 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 | <pre> |
||
| 28 | $ git tag -a 1.1 |
||
| 29 | $ 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 |