Skip to content

Commit 5993e12

Browse files
committed
Release 1.1.10 changelog
1 parent ce51d69 commit 5993e12

File tree

6 files changed

+20
-21
lines changed

6 files changed

+20
-21
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,6 @@ jobs:
3535
env:
3636
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
3737
DOTNET_CLI_TELEMETRY_OPTOUT: 1
38-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38+
PUBLISH_KEY: "unity-technologies:${{ secrets.GITHUB_TOKEN }}"
39+
PUBLISH_URL: https://nuget.pkg.github.com/unity-technologies/index.json
3940
run: ./publish.sh -r -g

publish.sh

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ BUILD=0
1414
UPM=0
1515
UNITYVERSION=2019.2
1616
YAMATO=0
17-
GITHUB=0
1817

1918
while (( "$#" )); do
2019
case "$1" in
@@ -55,22 +54,18 @@ if [[ x"${YAMATO_JOB_ID:-}" != x"" ]]; then
5554
export CI_COMMIT_REF_NAME="${GIT_BRANCH:-}"
5655
fi
5756

58-
if [[ x"${GITHUB_ACTIONS:-}" == x"true" ]]; then
59-
GITHUB=1
57+
if [[ x"${PUBLISH_KEY:-}" == x"" ]]; then
58+
echo "Can't publish without a PUBLISH_KEY environment variable in the user:token format" >&2
59+
popd >/dev/null 2>&1
60+
exit 1
6061
fi
6162

62-
if [[ x"$GITHUB" == x"1" ]]; then
63-
64-
if [[ x"${GITHUB_TOKEN:-}" == x"" ]]; then
65-
echo "Can't publish to GitHub without a GITHUB_TOKEN environment variable" >&2
66-
popd >/dev/null 2>&1
67-
exit 1
68-
fi
69-
70-
nuget sources Add -Name "GPR" -Source "https://nuget.pkg.github.com/unity-technologies/index.json" -UserName "unity-technologies" -Password ${GITHUB_TOKEN:-} -NonInteractive >/dev/null 2>&1 || true
71-
for p in "$DIR/build/nuget/**/*.nupkg"; do
72-
echo "nuget push $p -Source \"GPR\""
73-
nuget push $p -Source "GPR"
74-
done
75-
63+
if [[ x"${PUBLISH_URL:-}" == x"" ]]; then
64+
echo "Can't publish without a PUBLISH_URL environment variable" >&2
65+
popd >/dev/null 2>&1
66+
exit 1
7667
fi
68+
69+
for p in "$DIR/build/nuget/**/*.nupkg"; do
70+
dotnet nuget push $p -k "${PUBLISH_KEY}" -s "${PUBLISH_URL}"
71+
done

src/Directory.Build.props

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ Copyright (c) 2016-2018 GitHub</Copyright>
2727
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
2828

2929
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
30+
<IncludeSymbols>true</IncludeSymbols>
31+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
3032
</PropertyGroup>
3133

3234
<ItemGroup>

src/com.unity.editor.tasks/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# Changelog
22

3-
## [VERSION] - DATE
3+
## [1.1.10] - 2019-11-30
44

5+
- Add symbols for nuget packages
6+
- #6 - Fix schedulers for running processes, clean up task constructors, add documentation.
57
- Add Unity application contents path to the default Environment initialization
68

79
## [1.1.4] - 2019-11-20

src/com.unity.editor.tasks/version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"enabled": true
77
}
88
},
9-
"pathFilters": ["./", ":/extras/com.unity.editor.tasks", "/icon.png"],
9+
"pathFilters": [":/src/com.unity.editor.tasks", "../Directory.Build.props", "/Directory.Build.props", "/icon.png", ":/extras/com.unity.editor.tasks", ":/common"],
1010
"inherit": true
1111
}

version.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
33
"version": "1.1",
44
"publicReleaseRefSpec": [
5-
"^refs/heads/master$",
65
"^refs/heads/v\\d+\\.\\d+",
76
"^refs/tags/v\\d+\\.\\d+"
87
],

0 commit comments

Comments
 (0)