Skip to content

Commit

Permalink
Merge branch 'release/0.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
nils-a committed Jun 17, 2021
2 parents 803178d + 6df43ac commit f877025
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ windows-2019, ubuntu-18.04, macos-10.15 ]
os: [ windows-2019 ]

env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
#COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_PAT: ${{ secrets.GH_TOKEN }}
GPR_PASSWORD: ${{ secrets.GPR_PASSWORD }}
GPR_SOURCE: ${{ secrets.GPR_SOURCE }}
GPR_USER: ${{ secrets.GPR_USER }}
GPR_SOURCE: "https://nuget.pkg.github.com/nils-org/index.json"
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
NUGET_SOURCE: "https://api.nuget.org/v3/index.json"
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ This project follows the [all-contributors][] specification. Contributions of an

[MIT License © Nils Andresen][license]

[githubbuild]: https://github.com/nils-org/JavaVersionSwitcher/actions/workflows/build.yml?query=branch%3Adevelop
[githubimage]: https://github.com/nils-org/JavaVersionSwitcher/actions/workflows/build.yml/badge.svg?branch=develop
[githubbuild]: https://github.com/nils-org/JavaVersionSwitcher/actions/workflows/build.yaml?query=branch%3Adevelop
[githubimage]: https://github.com/nils-org/JavaVersionSwitcher/actions/workflows/build.yaml/badge.svg?branch=develop
[maintainer]: https://github.com/nils-a
[nuget]: https://nuget.org/packages/JavaVersionSwitcher
[nugetimage]: https://img.shields.io/nuget/v/JavaVersionSwitcher.svg?logo=nuget&style=flat-square
Expand Down
9 changes: 8 additions & 1 deletion recipe.cake
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#load nuget:?package=Cake.Recipe&version=2.2.1

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.";

Environment.SetVariableNames();

BuildParameters.SetParameters(
Expand All @@ -9,7 +11,12 @@ BuildParameters.SetParameters(
title: "JavaVersionSwitcher",
masterBranchName: "main",
repositoryOwner: "nils-org",
shouldRunDotNetCorePack: true);
shouldRunDotNetCorePack: true,
preferredBuildProviderType: BuildProviderType.GitHubActions,
twitterMessage: standardNotificationMessage,
shouldRunCoveralls: false, // no tests, currently
shouldRunCodecov: false,
shouldRunIntegrationTests: false);

BuildParameters.PrintParameters(Context);

Expand Down
8 changes: 8 additions & 0 deletions res/logo/ReadMe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Logo


![logo](./logo-128.png)

## Source

pro version of ["cup with spoon" By Robert Bjurshagen, SE](https://thenounproject.com/term/cup-with-spoon/1125790/)
Binary file added res/logo/logo-128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/logo/logo-512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions res/logo/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 12 additions & 2 deletions src/JavaVersionSwitcher/JavaVersionSwitcher.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.1;net5.0</TargetFrameworks>
<PackAsTool>true</PackAsTool>
<ToolCommandName>jvs</ToolCommandName>
</PropertyGroup>

<ItemGroup>
<None Include="$(MSBuildProjectDirectory)/../../README.md" PackagePath="" Pack="true" />
<None Include="$(MSBuildProjectDirectory)/../../res/logo/logo-128.png" PackagePath="" Pack="true" />
</ItemGroup>

<PropertyGroup>
<StartYear>2021</StartYear>
<EndYear>$([System.DateTime]::Today.Year)</EndYear>
Expand All @@ -21,13 +25,19 @@
<PackageProjectUrl>https://github.com/nils-org/JavaVersionSwitcher</PackageProjectUrl>
<PackageTags>java;versions;tool</PackageTags>
<RepositoryUrl>https://github.com/nils-org/JavaVersionSwitcher.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageReleaseNotes>https://github.com/nils-org/JavaVersionSwitcher/releases</PackageReleaseNotes>
<Version>0.0.1</Version>
<ToolCommandName>dotnet-jvs</ToolCommandName>
<PackageDescription>.NET tool to make switching java versions on windows easy.</PackageDescription>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageIconUrl>https://cdn.jsdelivr.net/gh/nils-org/JavaVersionSwitcher@main/res/logo/logo-128.png</PackageIconUrl>
<PackageIcon>logo-128.png</PackageIcon>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="JetBrains.Annotations" Version="2021.1.0" />
<PackageReference Include="Spectre.Console" Version="0.39.0" />
<PackageReference Include="Spectre.Console" Version="0.40.0" />
</ItemGroup>

</Project>

0 comments on commit f877025

Please sign in to comment.