Project

General

Profile

Preparing new release » History » Version 28

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