Skip to content

Updated a bunch of links and logos #684

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,19 +59,19 @@ choco install dotnet.script
We also provide a PowerShell script for installation.

```powershell
(new-object Net.WebClient).DownloadString("https://raw.githubusercontent.com/filipw/dotnet-script/master/install/install.ps1") | iex
(new-object Net.WebClient).DownloadString("https://raw.githubusercontent.com/dotnet-script/dotnet-script/master/install/install.ps1") | iex
```

### Linux and Mac

```shell
curl -s https://raw.githubusercontent.com/filipw/dotnet-script/master/install/install.sh | bash
curl -s https://raw.githubusercontent.com/dotnet-script/dotnet-script/master/install/install.sh | bash
```

If permission is denied we can try with `sudo`

```shell
curl -s https://raw.githubusercontent.com/filipw/dotnet-script/master/install/install.sh | sudo bash
curl -s https://raw.githubusercontent.com/dotnet-script/dotnet-script/master/install/install.sh | sudo bash
```

### Docker
Expand All @@ -91,7 +91,7 @@ docker run -it dotnet-script --version

### Github

You can manually download all the releases in `zip` format from the [GitHub releases page](https://github.com/filipw/dotnet-script/releases).
You can manually download all the releases in `zip` format from the [GitHub releases page](https://github.com/dotnet-script/dotnet-script/releases).

## Usage

Expand Down Expand Up @@ -576,4 +576,4 @@ We will also see this when working with scripts in VS Code under the problems pa

## License

[MIT License](https://github.com/filipw/dotnet-script/blob/master/LICENSE)
[MIT License](https://github.com/dotnet-script/dotnet-script/blob/master/LICENSE)
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
DOTNET_SCRIPT="$SCRIPT_DIR/build/dotnet-script"
if [ ! -d "$DOTNET_SCRIPT" ]; then
currentVersion=$(curl https://api.github.com/repos/filipw/dotnet-script/releases/latest?access_token=3a5de576bd32ddfccb52662d2d08d33a7edc318b | grep -Eo "\"tag_name\":\s*\"(.*)\"" | cut -d'"' -f4)
currentVersion=$(curl https://api.github.com/repos/dotnet-script/dotnet-script/releases/latest?access_token=3a5de576bd32ddfccb52662d2d08d33a7edc318b | grep -Eo "\"tag_name\":\s*\"(.*)\"" | cut -d'"' -f4)
echo "Downloading dotnet-script version $currentVersion..."
curl -L https://github.com/filipw/dotnet-script/releases/download/$currentVersion/dotnet-script.$currentVersion.zip > "$SCRIPT_DIR/build/dotnet-script.zip"
curl -L https://github.com/dotnet-script/dotnet-script/releases/download/$currentVersion/dotnet-script.$currentVersion.zip > "$SCRIPT_DIR/build/dotnet-script.zip"
unzip -o "$SCRIPT_DIR/build/dotnet-script.zip" -d "$SCRIPT_DIR/build/"
if [ $? -ne 0 ]; then
echo "An error occured while downloading dotnet-script"
Expand Down
2 changes: 1 addition & 1 deletion build/Chocolatey/tools/VERIFICATION.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ in verifying that this package's contents are trustworthy.
dotnet-script.dll : 3BF42E83BE931AC98D02306DBC6FB319

Check against the corresponding file in this release.
https://github.com/filipw/dotnet-script/releases/download/0.13.0/dotnet-script.0.13.0.zip
https://github.com/dotnet-script/dotnet-script/releases/download/0.13.0/dotnet-script.0.13.0.zip
2 changes: 1 addition & 1 deletion build/install-dotnet-script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

$scriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent
$client = New-Object "System.Net.WebClient"
$url = "https://github.com/filipw/dotnet-script/releases/download/0.18.0/dotnet-script.0.18.0.zip"
$url = "https://github.com/dotnet-script/dotnet-script/releases/download/0.18.0/dotnet-script.0.18.0.zip"
$file = "$scriptRoot/dotnet-script.zip"
$client.DownloadFile($url,$file)
Expand-Archive $file -DestinationPath $scriptRoot -Force
2 changes: 1 addition & 1 deletion build/install-dotnet-script.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

curl -L https://github.com/filipw/dotnet-script/releases/download/0.18.0/dotnet-script.0.18.0.zip > dotnet-script.zip
curl -L https://github.com/dotnet-script/dotnet-script/releases/download/0.18.0/dotnet-script.0.18.0.zip > dotnet-script.zip
unzip -o dotnet-script.zip -d ./
4 changes: 2 additions & 2 deletions install/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ $tempFolder = Join-Path $env:TEMP "dotnet-script"
New-Item $tempFolder -ItemType Directory -Force

# Get the latest release
$latestRelease = Invoke-WebRequest "https://api.github.com/repos/filipw/dotnet-script/releases/latest" |
$latestRelease = Invoke-WebRequest "https://api.github.com/repos/dotnet-script/dotnet-script/releases/latest" |
ConvertFrom-Json |
Select-Object tag_name
$tag_name = $latestRelease.tag_name

# Download the zip
Write-Host "Downloading latest version ($tag_name)"
$client = New-Object "System.Net.WebClient"
$url = "https://github.com/filipw/dotnet-script/releases/download/$tag_name/dotnet-script.$tag_name.zip"
$url = "https://github.com/dotnet-script/dotnet-script/releases/download/$tag_name/dotnet-script.$tag_name.zip"
$zipFile = Join-Path $tempFolder "dotnet-script.zip"
$client.DownloadFile($url,$zipFile)

Expand Down
4 changes: 2 additions & 2 deletions install/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
mkdir /tmp/dotnet-script
if [[ -z $1 ]]; then
version=$(curl https://api.github.com/repos/filipw/dotnet-script/releases/latest | grep -Eo "\"tag_name\":\s*\"(.*)\"" | cut -d'"' -f4)
version=$(curl https://api.github.com/repos/dotnet-script/dotnet-script/releases/latest | grep -Eo "\"tag_name\":\s*\"(.*)\"" | cut -d'"' -f4)
else
version=$1
fi
Expand All @@ -15,7 +15,7 @@ if [[ $? -eq 0 ]]; then
fi

echo "Installing $version..."
curl -L https://github.com/filipw/dotnet-script/releases/download/$version/dotnet-script.$version.zip > /tmp/dotnet-script/dotnet-script.zip
curl -L https://github.com/dotnet-script/dotnet-script/releases/download/$version/dotnet-script.$version.zip > /tmp/dotnet-script/dotnet-script.zip
unzip -o /tmp/dotnet-script/dotnet-script.zip -d /usr/local/lib
chmod +x /usr/local/lib/dotnet-script/dotnet-script.sh
cd /usr/local/bin
Expand Down
6 changes: 3 additions & 3 deletions src/Dotnet.Script.Core/Dotnet.Script.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
<AssemblyName>Dotnet.Script.Core</AssemblyName>
<PackageId>Dotnet.Script.Core</PackageId>
<PackageTags>script;csx;csharp;roslyn</PackageTags>
<PackageIconUrl>https://raw.githubusercontent.com/filipw/Strathweb.TypedRouting.AspNetCore/master/strathweb.png</PackageIconUrl>
<PackageProjectUrl>https://github.com/filipw/dotnet-script</PackageProjectUrl>
<PackageIconUrl>https://avatars.githubusercontent.com/u/113979420</PackageIconUrl>
<PackageProjectUrl>https://github.com/dotnet-script/dotnet-script</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/filipw/dotnet-script.git</RepositoryUrl>
<RepositoryUrl>https://github.com/dotnet-script/dotnet-script.git</RepositoryUrl>
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
Expand Down
4 changes: 2 additions & 2 deletions src/Dotnet.Script.Core/Versioning/EnvironmentReporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ private void ReportThatNewVersionIsAvailable(VersionInfo latestVersion)
if (ScriptEnvironment.Default.IsWindows)
{
updateInfo.AppendLine("Chocolatey : choco upgrade Dotnet.Script");
updateInfo.AppendLine("Powershell : (new-object Net.WebClient).DownloadString(\"https://raw.githubusercontent.com/filipw/dotnet-script/master/install/install.ps\") | iex");
updateInfo.AppendLine("Powershell : (new-object Net.WebClient).DownloadString(\"https://raw.githubusercontent.com/dotnet-script/dotnet-script/master/install/install.ps\") | iex");
}
else
{
updateInfo.AppendLine("Bash : curl -s https://raw.githubusercontent.com/filipw/dotnet-script/master/install/install.sh | bash");
updateInfo.AppendLine("Bash : curl -s https://raw.githubusercontent.com/dotnet-script/dotnet-script/master/install/install.sh | bash");
}

_scriptConsole.WriteHighlighted(updateInfo.ToString());
Expand Down
2 changes: 1 addition & 1 deletion src/Dotnet.Script.Core/Versioning/VersionProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Dotnet.Script.Core.Versioning
public class VersionProvider : IVersionProvider
{
private const string UserAgent = "dotnet-script";
private static readonly string RequestUri = "/repos/filipw/dotnet-script/releases/latest";
private static readonly string RequestUri = "/repos/dotnet-script/dotnet-script/releases/latest";

/// <inheritdoc>
public async Task<VersionInfo> GetLatestVersion()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/filipw/dotnet-script</PackageProjectUrl>
<PackageIconUrl>https://raw.githubusercontent.com/filipw/Strathweb.TypedRouting.AspNetCore/master/strathweb.png</PackageIconUrl>
<RepositoryUrl>https://github.com/filipw/dotnet-script.git</RepositoryUrl>
<PackageProjectUrl>https://github.com/dotnet-script/dotnet-script</PackageProjectUrl>
<PackageIconUrl>https://avatars.githubusercontent.com/u/113979420</PackageIconUrl>
<RepositoryUrl>https://github.com/dotnet-script/dotnet-script.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>script;csx;csharp;roslyn;nuget</PackageTags>
<Version>1.4.0</Version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<Company>dotnet-script</Company>
<Description>Provides runtime and compilation dependency resolution for dotnet-script based scripts.</Description>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/filipw/dotnet-script</PackageProjectUrl>
<PackageIconUrl>https://raw.githubusercontent.com/filipw/Strathweb.TypedRouting.AspNetCore/master/strathweb.png</PackageIconUrl>
<RepositoryUrl>https://github.com/filipw/dotnet-script.git</RepositoryUrl>
<PackageProjectUrl>https://github.com/dotnet-script/dotnet-script</PackageProjectUrl>
<PackageIconUrl>https://avatars.githubusercontent.com/u/113979420</PackageIconUrl>
<RepositoryUrl>https://github.com/dotnet-script/dotnet-script.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>script;csx;csharp;roslyn;omnisharp</PackageTags>
<Version>1.4.0</Version>
Expand Down
4 changes: 2 additions & 2 deletions src/Dotnet.Script.Tests/PackageVersionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ public class PackageVersionTests
[InlineData("1.2.3")]
[InlineData("1.2.3.4")]
[InlineData("1.2.3-beta1")]
[InlineData("0.1.4-beta")] // See: https://github.com/filipw/dotnet-script/issues/407#issuecomment-563363947
[InlineData("2.0.0-preview3.20122.2")] // See: https://github.com/filipw/dotnet-script/issues/407#issuecomment-631122591
[InlineData("0.1.4-beta")] // See: https://github.com/dotnet-script/dotnet-script/issues/407#issuecomment-563363947
[InlineData("2.0.0-preview3.20122.2")] // See: https://github.com/dotnet-script/dotnet-script/issues/407#issuecomment-631122591
[InlineData("1.0.0-ci-20180920T1656")]
[InlineData("[1.2]")]
[InlineData("[1.2.3]")]
Expand Down
2 changes: 1 addition & 1 deletion src/Dotnet.Script.Tests/ScriptExecutionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ public void ShouldLoadMicrosoftExtensionsDependencyInjection()
[Fact]
public void ShouldThrowExceptionOnInvalidMediaType()
{
var url = "https://github.com/filipw/dotnet-script/archive/0.20.0.zip";
var url = "https://github.com/dotnet-script/dotnet-script/archive/0.20.0.zip";
var (output, _) = ScriptTestRunner.Default.Execute(url);
Assert.Contains("not supported", output);
}
Expand Down
6 changes: 3 additions & 3 deletions src/Dotnet.Script/Dotnet.Script.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
<AssemblyName>dotnet-script</AssemblyName>
<OutputType>Exe</OutputType>
<PackageTags>dotnet;cli;script;csx;csharp;roslyn</PackageTags>
<PackageIconUrl>https://raw.githubusercontent.com/filipw/Strathweb.TypedRouting.AspNetCore/master/strathweb.png</PackageIconUrl>
<PackageProjectUrl>https://github.com/filipw/dotnet-script</PackageProjectUrl>
<PackageIconUrl>https://avatars.githubusercontent.com/u/113979420</PackageIconUrl>
<PackageProjectUrl>https://github.com/dotnet-script/dotnet-script</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/filipw/dotnet-script.git</RepositoryUrl>
<RepositoryUrl>https://github.com/dotnet-script/dotnet-script.git</RepositoryUrl>
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
Expand Down