-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
337 additions
and
438 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
param( | ||
# Version to build | ||
[Parameter(Mandatory)] | ||
[string] | ||
[Alias("v")] | ||
$version, | ||
|
||
# Optional suffix for the version | ||
[string] | ||
$suffix, | ||
|
||
# configuration to build against | ||
[string] | ||
$config = 'release', | ||
|
||
# push to azure nightly feed ? | ||
[switch] | ||
$push = $false | ||
) | ||
|
||
$versionString = $version | ||
if (![string]::IsNullOrWhiteSpace($suffix)) { | ||
$versionString = -join($version, '-', $suffix) | ||
} | ||
|
||
$package = "Our.Umbraco.LinkedPages"; | ||
$project = "..\src\$package\$package.csproj" | ||
$outFolder = ".\$versionString" | ||
$buildParams = "ContinuousIntegrationBuild=true,version=$versionString" | ||
|
||
# pack the thing | ||
dotnet pack $project -c $config -o $outFolder /p:$buildParams | ||
|
||
if ($push) { | ||
# push to a nightly . | ||
$feedUrl = "https://pkgs.dev.azure.com/jumoo/Public/_packaging/nightly/nuget/v3/index.json"; | ||
&nuget.exe push "$outfolder\*.nupkg" -ApiKey AzureDevOps -src $feedUrl | ||
} | ||
|
||
XCOPY "$outfolder\*.nupkg" "c:\source\localgit" /y |
9 changes: 0 additions & 9 deletions
9
src/Our.Umbraco.LinkedPages/App_Plugins/LinkedPages/package.manifest
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,18 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using Umbraco.Cms.Core.Actions; | ||
|
||
namespace Our.Umbraco.LinkedPages; | ||
|
||
#if NETCOREAPP | ||
using Umbraco.Cms.Core.Actions; | ||
#else | ||
using Umbraco.Web.Actions; | ||
#endif | ||
|
||
namespace Our.Umbraco.LinkedPages | ||
public class LinikedAction : IAction | ||
{ | ||
public class LinikedAction : IAction | ||
{ | ||
public char Letter => LinkedPages.ActionLetter[0]; | ||
public char Letter => LinkedPages.ActionLetter[0]; | ||
|
||
public bool ShowInNotifier => true; | ||
public bool ShowInNotifier => true; | ||
|
||
public bool CanBePermissionAssigned => true; | ||
public bool CanBePermissionAssigned => true; | ||
|
||
public string Icon => "link"; | ||
public string Icon => "link"; | ||
|
||
public string Alias => LinkedPages.Alias; | ||
public string Alias => LinkedPages.Alias; | ||
|
||
public string Category => LinkedPages.Category; | ||
} | ||
public string Category => LinkedPages.Category; | ||
} |
Oops, something went wrong.