Project

General

Profile

Preparing new release » History » Version 33

cryptogopher, 2022-09-10 20:40

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 33 cryptogopher
RAILS_ENV=test bundle exec rake redmine:load_default_data
13 1 cryptogopher
</pre>
14 33 cryptogopher
(load default data separately, https://www.redmine.org/boards/2/topics/48044)
15 19 cryptogopher
## run tests:
16
<pre>
17
RAILS_ENV=test bundle exec rake redmine:plugins:test NAME=issue_recurring
18 24 cryptogopher
</pre>
19 30 cryptogopher
## (optionally) rerun failing tests separately:
20 24 cryptogopher
<pre>
21 29 cryptogopher
RAILS_ENV=test bundle exec ruby plugins/issue_recurring/test/integration/issue_recurrences_test.rb --name test_create_recurrence --verbose
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