diff --git a/README.md b/README.md index b13074f0..724fdd59 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 @@ -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) diff --git a/build.sh b/build.sh index 8c3298d2..8af51e4a 100755 --- a/build.sh +++ b/build.sh @@ -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" diff --git a/build/Chocolatey/tools/VERIFICATION.TXT b/build/Chocolatey/tools/VERIFICATION.TXT index 1936dea3..8835097c 100644 --- a/build/Chocolatey/tools/VERIFICATION.TXT +++ b/build/Chocolatey/tools/VERIFICATION.TXT @@ -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 \ No newline at end of file +https://github.com/dotnet-script/dotnet-script/releases/download/0.13.0/dotnet-script.0.13.0.zip \ No newline at end of file diff --git a/build/install-dotnet-script.ps1 b/build/install-dotnet-script.ps1 index 2e0def4c..2b155019 100644 --- a/build/install-dotnet-script.ps1 +++ b/build/install-dotnet-script.ps1 @@ -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 \ No newline at end of file diff --git a/build/install-dotnet-script.sh b/build/install-dotnet-script.sh index 9242df21..4b3727c9 100755 --- a/build/install-dotnet-script.sh +++ b/build/install-dotnet-script.sh @@ -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 ./ diff --git a/install/install.ps1 b/install/install.ps1 index 2e8093ab..a0680936 100644 --- a/install/install.ps1 +++ b/install/install.ps1 @@ -5,7 +5,7 @@ $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 @@ -13,7 +13,7 @@ $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) diff --git a/install/install.sh b/install/install.sh index 3a464fc7..3cdf9ce5 100755 --- a/install/install.sh +++ b/install/install.sh @@ -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 @@ -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 diff --git a/src/Dotnet.Script.Core/Dotnet.Script.Core.csproj b/src/Dotnet.Script.Core/Dotnet.Script.Core.csproj index 132db377..c388f2b8 100644 --- a/src/Dotnet.Script.Core/Dotnet.Script.Core.csproj +++ b/src/Dotnet.Script.Core/Dotnet.Script.Core.csproj @@ -8,11 +8,11 @@ Dotnet.Script.Core Dotnet.Script.Core script;csx;csharp;roslyn - https://raw.githubusercontent.com/filipw/Strathweb.TypedRouting.AspNetCore/master/strathweb.png - https://github.com/filipw/dotnet-script + https://avatars.githubusercontent.com/u/113979420 + https://github.com/dotnet-script/dotnet-script MIT git - https://github.com/filipw/dotnet-script.git + https://github.com/dotnet-script/dotnet-script.git false false false diff --git a/src/Dotnet.Script.Core/Versioning/EnvironmentReporter.cs b/src/Dotnet.Script.Core/Versioning/EnvironmentReporter.cs index b641a727..3155d5f9 100644 --- a/src/Dotnet.Script.Core/Versioning/EnvironmentReporter.cs +++ b/src/Dotnet.Script.Core/Versioning/EnvironmentReporter.cs @@ -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()); diff --git a/src/Dotnet.Script.Core/Versioning/VersionProvider.cs b/src/Dotnet.Script.Core/Versioning/VersionProvider.cs index 11107a5e..f5defd73 100644 --- a/src/Dotnet.Script.Core/Versioning/VersionProvider.cs +++ b/src/Dotnet.Script.Core/Versioning/VersionProvider.cs @@ -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"; /// public async Task GetLatestVersion() diff --git a/src/Dotnet.Script.DependencyModel.Nuget/Dotnet.Script.DependencyModel.NuGet.csproj b/src/Dotnet.Script.DependencyModel.Nuget/Dotnet.Script.DependencyModel.NuGet.csproj index c0df9c53..e7746c86 100644 --- a/src/Dotnet.Script.DependencyModel.Nuget/Dotnet.Script.DependencyModel.NuGet.csproj +++ b/src/Dotnet.Script.DependencyModel.Nuget/Dotnet.Script.DependencyModel.NuGet.csproj @@ -3,9 +3,9 @@ netstandard2.0 MIT - https://github.com/filipw/dotnet-script - https://raw.githubusercontent.com/filipw/Strathweb.TypedRouting.AspNetCore/master/strathweb.png - https://github.com/filipw/dotnet-script.git + https://github.com/dotnet-script/dotnet-script + https://avatars.githubusercontent.com/u/113979420 + https://github.com/dotnet-script/dotnet-script.git git script;csx;csharp;roslyn;nuget 1.4.0 diff --git a/src/Dotnet.Script.DependencyModel/Dotnet.Script.DependencyModel.csproj b/src/Dotnet.Script.DependencyModel/Dotnet.Script.DependencyModel.csproj index 0a4df0c5..5d4bdc9c 100644 --- a/src/Dotnet.Script.DependencyModel/Dotnet.Script.DependencyModel.csproj +++ b/src/Dotnet.Script.DependencyModel/Dotnet.Script.DependencyModel.csproj @@ -6,9 +6,9 @@ dotnet-script Provides runtime and compilation dependency resolution for dotnet-script based scripts. MIT - https://github.com/filipw/dotnet-script - https://raw.githubusercontent.com/filipw/Strathweb.TypedRouting.AspNetCore/master/strathweb.png - https://github.com/filipw/dotnet-script.git + https://github.com/dotnet-script/dotnet-script + https://avatars.githubusercontent.com/u/113979420 + https://github.com/dotnet-script/dotnet-script.git git script;csx;csharp;roslyn;omnisharp 1.4.0 diff --git a/src/Dotnet.Script.Tests/PackageVersionTests.cs b/src/Dotnet.Script.Tests/PackageVersionTests.cs index 2f8b64a6..c613444d 100644 --- a/src/Dotnet.Script.Tests/PackageVersionTests.cs +++ b/src/Dotnet.Script.Tests/PackageVersionTests.cs @@ -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]")] diff --git a/src/Dotnet.Script.Tests/ScriptExecutionTests.cs b/src/Dotnet.Script.Tests/ScriptExecutionTests.cs index 90fd6ecc..260cc2fa 100644 --- a/src/Dotnet.Script.Tests/ScriptExecutionTests.cs +++ b/src/Dotnet.Script.Tests/ScriptExecutionTests.cs @@ -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); } diff --git a/src/Dotnet.Script/Dotnet.Script.csproj b/src/Dotnet.Script/Dotnet.Script.csproj index c446dccf..5c4497e1 100644 --- a/src/Dotnet.Script/Dotnet.Script.csproj +++ b/src/Dotnet.Script/Dotnet.Script.csproj @@ -9,11 +9,11 @@ dotnet-script Exe dotnet;cli;script;csx;csharp;roslyn - https://raw.githubusercontent.com/filipw/Strathweb.TypedRouting.AspNetCore/master/strathweb.png - https://github.com/filipw/dotnet-script + https://avatars.githubusercontent.com/u/113979420 + https://github.com/dotnet-script/dotnet-script MIT git - https://github.com/filipw/dotnet-script.git + https://github.com/dotnet-script/dotnet-script.git false false false