Skip to content

Commit f877025

Browse files
committed
Merge branch 'release/0.1.0'
2 parents 803178d + 6df43ac commit f877025

File tree

8 files changed

+34
-8
lines changed

8 files changed

+34
-8
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ jobs:
1919
runs-on: ${{ matrix.os }}
2020
strategy:
2121
matrix:
22-
os: [ windows-2019, ubuntu-18.04, macos-10.15 ]
22+
os: [ windows-2019 ]
2323

2424
env:
25-
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
25+
#COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
2626
GITHUB_PAT: ${{ secrets.GH_TOKEN }}
2727
GPR_PASSWORD: ${{ secrets.GPR_PASSWORD }}
28-
GPR_SOURCE: ${{ secrets.GPR_SOURCE }}
2928
GPR_USER: ${{ secrets.GPR_USER }}
29+
GPR_SOURCE: "https://nuget.pkg.github.com/nils-org/index.json"
3030
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
3131
NUGET_SOURCE: "https://api.nuget.org/v3/index.json"
3232
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ This project follows the [all-contributors][] specification. Contributions of an
6262

6363
[MIT License © Nils Andresen][license]
6464

65-
[githubbuild]: https://github.com/nils-org/JavaVersionSwitcher/actions/workflows/build.yml?query=branch%3Adevelop
66-
[githubimage]: https://github.com/nils-org/JavaVersionSwitcher/actions/workflows/build.yml/badge.svg?branch=develop
65+
[githubbuild]: https://github.com/nils-org/JavaVersionSwitcher/actions/workflows/build.yaml?query=branch%3Adevelop
66+
[githubimage]: https://github.com/nils-org/JavaVersionSwitcher/actions/workflows/build.yaml/badge.svg?branch=develop
6767
[maintainer]: https://github.com/nils-a
6868
[nuget]: https://nuget.org/packages/JavaVersionSwitcher
6969
[nugetimage]: https://img.shields.io/nuget/v/JavaVersionSwitcher.svg?logo=nuget&style=flat-square

recipe.cake

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#load nuget:?package=Cake.Recipe&version=2.2.1
22

3+
var standardNotificationMessage = "Version {0} of {1} has just been released, it will be available here https://www.nuget.org/packages/{1}, once package indexing is complete.";
4+
35
Environment.SetVariableNames();
46

57
BuildParameters.SetParameters(
@@ -9,7 +11,12 @@ BuildParameters.SetParameters(
911
title: "JavaVersionSwitcher",
1012
masterBranchName: "main",
1113
repositoryOwner: "nils-org",
12-
shouldRunDotNetCorePack: true);
14+
shouldRunDotNetCorePack: true,
15+
preferredBuildProviderType: BuildProviderType.GitHubActions,
16+
twitterMessage: standardNotificationMessage,
17+
shouldRunCoveralls: false, // no tests, currently
18+
shouldRunCodecov: false,
19+
shouldRunIntegrationTests: false);
1320

1421
BuildParameters.PrintParameters(Context);
1522

res/logo/ReadMe.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Logo
2+
3+
4+
![logo](./logo-128.png)
5+
6+
## Source
7+
8+
pro version of ["cup with spoon" By Robert Bjurshagen, SE](https://thenounproject.com/term/cup-with-spoon/1125790/)

res/logo/logo-128.png

5.77 KB
Loading

res/logo/logo-512.png

32 KB
Loading

res/logo/logo.svg

Lines changed: 1 addition & 0 deletions
Loading

src/JavaVersionSwitcher/JavaVersionSwitcher.csproj

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@
44
<OutputType>Exe</OutputType>
55
<TargetFrameworks>netcoreapp3.1;net5.0</TargetFrameworks>
66
<PackAsTool>true</PackAsTool>
7-
<ToolCommandName>jvs</ToolCommandName>
87
</PropertyGroup>
98

9+
<ItemGroup>
10+
<None Include="$(MSBuildProjectDirectory)/../../README.md" PackagePath="" Pack="true" />
11+
<None Include="$(MSBuildProjectDirectory)/../../res/logo/logo-128.png" PackagePath="" Pack="true" />
12+
</ItemGroup>
13+
1014
<PropertyGroup>
1115
<StartYear>2021</StartYear>
1216
<EndYear>$([System.DateTime]::Today.Year)</EndYear>
@@ -21,13 +25,19 @@
2125
<PackageProjectUrl>https://github.com/nils-org/JavaVersionSwitcher</PackageProjectUrl>
2226
<PackageTags>java;versions;tool</PackageTags>
2327
<RepositoryUrl>https://github.com/nils-org/JavaVersionSwitcher.git</RepositoryUrl>
28+
<RepositoryType>git</RepositoryType>
2429
<PackageReleaseNotes>https://github.com/nils-org/JavaVersionSwitcher/releases</PackageReleaseNotes>
2530
<Version>0.0.1</Version>
31+
<ToolCommandName>dotnet-jvs</ToolCommandName>
32+
<PackageDescription>.NET tool to make switching java versions on windows easy.</PackageDescription>
33+
<PackageReadmeFile>README.md</PackageReadmeFile>
34+
<PackageIconUrl>https://cdn.jsdelivr.net/gh/nils-org/JavaVersionSwitcher@main/res/logo/logo-128.png</PackageIconUrl>
35+
<PackageIcon>logo-128.png</PackageIcon>
2636
</PropertyGroup>
2737

2838
<ItemGroup>
2939
<PackageReference Include="JetBrains.Annotations" Version="2021.1.0" />
30-
<PackageReference Include="Spectre.Console" Version="0.39.0" />
40+
<PackageReference Include="Spectre.Console" Version="0.40.0" />
3141
</ItemGroup>
3242

3343
</Project>

0 commit comments

Comments
 (0)