Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit f28a3d2

Browse files
authored
Merge branch 'master' into fixes/we-like-exceptions
2 parents dd21f71 + 9692b2a commit f28a3d2

40 files changed

+1861
-1705
lines changed

GitHub.Unity.sln.DotSettings

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,4 +343,5 @@
343343
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EMigrateBlankLinesAroundFieldToBlankLinesAroundProperty/@EntryIndexedValue">True</s:Boolean>
344344
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EMigrateThisQualifierSettings/@EntryIndexedValue">True</s:Boolean>
345345
<s:Boolean x:Key="/Default/Environment/UnitTesting/ShadowCopy/@EntryValue">False</s:Boolean>
346+
<s:String x:Key="/Default/Housekeeping/UnitTestingMru/UnitTestSessionDefault/PlatformType/@EntryValue">x64</s:String>
346347
</wpf:ResourceDictionary>

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh -eux
1+
#!/bin/sh -eu
22
Configuration="dev"
33
if [ $# -gt 0 ]; then
44
Configuration=$1
@@ -32,7 +32,7 @@ else
3232
nuget restore GitHub.Unity.sln
3333
fi
3434

35-
xbuild GitHub.Unity.sln /verbosity:normal /property:Configuration=$Configuration /target:$Target || true
35+
xbuild GitHub.Unity.sln /verbosity:minimal /property:Configuration=$Configuration /target:$Target || true
3636

3737
rm -f unity/PackageProject/Assets/Plugins/GitHub/Editor/deleteme*
3838
rm -f unity/PackageProject/Assets/Plugins/GitHub/Editor/deleteme*

common/SolutionInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@
3131
namespace System
3232
{
3333
internal static class AssemblyVersionInformation {
34-
internal const string Version = "0.21.0";
34+
internal const string Version = "0.22.0";
3535
}
3636
}

docs/process/release-process.md

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# Release process
2+
3+
## Release information
4+
5+
### Tag name format
6+
7+
***Alpha releases***: `v[major].[minor]-alpha`
8+
9+
***Beta releases***: `v[major].[minor]-beta`
10+
11+
***Releases***: `v[major].[minor]`
12+
13+
## The process
14+
15+
#### TL;DR
16+
17+
1. Dev branches to a release branch every week, create draft release with release notes
18+
2. QA tests release branch for up to a week
19+
3. Dev continues work on master
20+
4. Dev fixes shipblockers on release branch and updates build on draft release page, and makes sure fixes are also sent to master
21+
5. QA publishes release by tagging the release branch and hitting "Publish"
22+
6. Goto 1
23+
24+
#### The long explanation
25+
26+
Every week:
27+
28+
1. Create a release branch from master with the name `release/[Major].[Minor]`, where `[Major].[Minor]` are the current major and minor parts of the version set on master.
29+
1. Bump the version on master
30+
1. Create a draft release with the release notes, following the format below
31+
1. Upload a build created from the release branch
32+
1. QA tests the release and logs any issues found in it. Issues are fixed on the next release unless they are related to the issues that are reported as fixed in the current release, and they are shipblockers.
33+
1. If the release requires fixes:
34+
1. If the fix is reverting a PR, that doesn't have to be done on master, only on the release branch. Otherwise:
35+
1. Create a branch from the release branch fork point (the commit that the release branch is based on)
36+
1. Push the fix to this branch and create a PR targetting the release branch
37+
1. Upload a new build from the release branch
38+
1. Create another branch from master, merge the fix branch into it and create a PR targetting master
39+
1. QA approves release by:
40+
1. Filling out the tag name, in the format shown above
41+
1. Selecting the release branch corresponding to the build
42+
1. Clicking `Publish release`
43+
44+
45+
## Template for release notes
46+
47+
The https://github.com/github-for-unity/unity-release-notes node project generates draft release notes by outputting all issues labeled `Feature`, `Enhancement` and `Bug` closed since the last release in the correct format for release notes, and also outputs all PRs closed since the last release, in case some issues might not have been correctly labeled and/or created.
48+
49+
The markdown format for release notes is below. This is what the project above generates (more or less).
50+
51+
```
52+
# Release notes
53+
54+
[any special notes and/or funny/relevant image for the release here, if needed]
55+
56+
## Features
57+
58+
- #XXX - Title of issue (adjust for user consumption if needed)
59+
60+
## Enhancements
61+
62+
- #XXX - Title of issue (adjust for user consumption if needed)
63+
64+
## Fixes
65+
66+
- #XXX - Title of issue (adjust for user consumption if needed)
67+
68+
```

docs/readme.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ Details about how the team is organizing and shipping GitHub for Unity:
2424

2525
- **[Issue Triage](process/issue-triage.md)** - how we address issues reported
2626
by users
27-
- **[Review Process](process/reviews.md)** - how we review contributions
27+
- **[Review](process/reviews.md)** - how we review contributions
2828
- **[Roadmap](process/roadmap.md)** - how we plan for the future
29+
- **[Release](process/release-process.md)** - how we review contributions
2930

3031
## Technical
3132

src/GitHub.Api/Application/ApplicationManagerBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public ApplicationManagerBase(SynchronizationContext synchronizationContext)
1717
{
1818
SynchronizationContext = synchronizationContext;
1919
SynchronizationContext.SetSynchronizationContext(SynchronizationContext);
20-
ThreadingHelper.SetMainThread();
20+
ThreadingHelper.SetUIThread();
2121
UIScheduler = TaskScheduler.FromCurrentSynchronizationContext();
2222
ThreadingHelper.MainThreadScheduler = UIScheduler;
2323
TaskManager = new TaskManager(UIScheduler);

0 commit comments

Comments
 (0)