Project

General

Profile

Preparing new release » History » Version 24

cryptogopher, 2020-04-11 20:37

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
## 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
Rake::TestTask.new :integration => "db:test:prepare" do |t|
9
  t.libs << "test"
10
  t.verbose = true
11
  t.warning = false
12
  t.pattern = "plugins/#{ENV['NAME'] || '*'}/test/integration/**/*_test.rb"
13
end
14
</pre>
15
## run tests:
16
<pre>
17 24 cryptogopher
RAILS_ENV=test bundle exec rake redmine:plugins:test NAME=issue_recurring
18
</pre>
19
## Redmine 4.0 and above: run system tests
20
<pre>
21
RAILS_ENV=test bundle exec ruby plugins/issue_recurring/test/system/issue_recurrences_test.rb
22 20 cryptogopher
</pre>
23 11 cryptogopher
# [[Common_git_operations#Merge-branch-into-master|Merge]] all outstanding branches into master.
24
# Rerun above tests on @master@ branch if there were:
25
## multiple branches merged,
26
## conflicts during merge.
27 12 cryptogopher
# Update source:README.md: *Features*, *Changelog* and compatibility list in *Installation* paragraphs.
28 1 cryptogopher
# Bump plugin version number in source:init.rb.
29 5 cryptogopher
# Commit and push changes.
30 4 cryptogopher
# Create and push git tag with new version number:
31
<pre>
32
$ git tag -a 1.1
33
$ git push origin 1.1
34 1 cryptogopher
</pre>
35 16 cryptogopher
# Close corresponding issues (if not closed by appropriate commit messages).
36 1 cryptogopher
# Update plugin information on https://redmine.org/plugins/issue-recurring
37 14 cryptogopher
# Add release news on IT https://it.michalczyk.pro/projects/issue-recurring/news
38 17 cryptogopher
# Add new version on IT https://it.michalczyk.pro/projects/issue-recurring/settings/versions