Skip to content

Commit

Permalink
updated packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Digitalroot committed Aug 29, 2023
1 parent b98cce2 commit 9ecf68c
Show file tree
Hide file tree
Showing 96 changed files with 245 additions and 129 deletions.
28 changes: 22 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ name: Release

on:
workflow_dispatch:
workflow_call:

push:
branches: [ main ] # Default release branch
paths-ignore:
- '.github/**'
- 'docs/**'
- '**/.ts/**'
- '**/.nx/**'

env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
Expand All @@ -22,22 +23,37 @@ jobs:
aws-secret-access-key: ${{ secrets.NUGET_S3_REPO_KEY_SECRET }}
nuget-org-key: ${{ secrets.NUGET_ORG_PAT }}
with:
sln-file-name: Digitalroot.Valheim.Common.References
proj-file-name: Digitalroot.Valheim.Common.References
sln-file-name: Digitalroot.Valheim.References
proj-file-name: Digitalroot.Valheim.References
force-assembly-version: true
nuget-gh-upload: true
nuget-s3-upload: true
nuget-org-upload: true

call-workflow-nuget-release-mod-references:
call-workflow-nuget-release-mod-EpicLoot-references:
uses: Digitalroot-Valheim/.github/.github/workflows/nuget.release.yml@main
secrets:
aws-access-key-id: ${{ secrets.NUGET_S3_REPO_KEY_ID }}
aws-secret-access-key: ${{ secrets.NUGET_S3_REPO_KEY_SECRET }}
nuget-org-key: ${{ secrets.NUGET_ORG_PAT }}
with:
sln-file-name: Digitalroot.Valheim.Common.References
proj-file-name: Digitalroot.Valheim.Common.ModReferences
sln-file-name: Digitalroot.Valheim.References
proj-file-name: Digitalroot.Valheim.References.EpicLoot
force-assembly-version: true
nuget-gh-upload: true
nuget-s3-upload: true
nuget-org-upload: true
create-github-release: false

call-workflow-nuget-release-mod-JvL-references:
uses: Digitalroot-Valheim/.github/.github/workflows/nuget.release.yml@main
secrets:
aws-access-key-id: ${{ secrets.NUGET_S3_REPO_KEY_ID }}
aws-secret-access-key: ${{ secrets.NUGET_S3_REPO_KEY_SECRET }}
nuget-org-key: ${{ secrets.NUGET_ORG_PAT }}
with:
sln-file-name: Digitalroot.Valheim.References
proj-file-name: Digitalroot.Valheim.References.JvL
force-assembly-version: true
nuget-gh-upload: true
nuget-s3-upload: true
Expand Down
Binary file not shown.
Binary file not shown.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
<Project Sdk="Microsoft.Build.NoTargets/1.0.26">

<PropertyGroup>
<AssemblyName>Digitalroot.Valheim.Common.ModReferences</AssemblyName>
<AssemblyName>Digitalroot.Valheim.References.EpicLoot</AssemblyName>
<TargetFrameworks>net462</TargetFrameworks>
<LangVersion>10</LangVersion>
<PackageId>Digitalroot.Valheim.Common.ModReferences</PackageId>
<RootNamespace>Digitalroot.Valheim.Common.ModReferences</RootNamespace>
<PackageId>Digitalroot.Valheim.References.EpicLoot</PackageId>
<RootNamespace>Digitalroot.Valheim.References.EpicLoot</RootNamespace>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<IncludeBuildOutput>false</IncludeBuildOutput>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageLicenseExpression>AGPL-3.0-or-later</PackageLicenseExpression>
<Copyright>Copyright © Digitalroot Technologies 2021 - 2023</Copyright>
<PackageProjectUrl>https://github.com/Digitalroot-Valheim/Digitalroot.Valheim.Common.References</PackageProjectUrl>
<RepositoryUrl>https://github.com/Digitalroot-Valheim/Digitalroot.Valheim.Common.References</RepositoryUrl>
<PackageProjectUrl>https://github.com/Digitalroot-Valheim/Digitalroot.Valheim.References</PackageProjectUrl>
<RepositoryUrl>https://github.com/Digitalroot-Valheim/Digitalroot.Valheim.References</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageIcon>ValheimRcon_black.png</PackageIcon>
<PackageIconUrl />
<PackageTags>valheim, digitalroot, mod references</PackageTags>
<PackageTags>valheim, digitalroot, mod references, epicloot</PackageTags>
<Authors>Digitalroot</Authors>
<Company>Digitalroot Technologies</Company>
<Product>Digitalroot Valheim Mod References</Product>
<Description>References for Valheim Mods</Description>
<Product>Digitalroot Valheim EpicLoot mod References</Product>
<Description>References for Valheim mod EpicLoot</Description>
<PackageReleaseNotes>Initial Release</PackageReleaseNotes>
<NeutralLanguage>en-US</NeutralLanguage>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<IncludeBuildOutput>false</IncludeBuildOutput>
<NoBuild>true</NoBuild>
<Version>1.0.1</Version>
<Version>0.9.20</Version>
<RestoreAdditionalProjectSources>
https://api.nuget.org/v3/index.json;
https://nuget.bepinex.dev/v3/index.json;
Expand Down
22 changes: 22 additions & 0 deletions src/Digitalroot.Valheim.References.EpicLoot/Publicize.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
@echo off
SET DOTNET_SKIP_FIRST_TIME_EXPERIENCE = true
SET DOTNET_CLI_TELEMETRY_OPTOUT = true

echo == Installing BepInEx.AssemblyPublicizer.Cli ==
dotnet tool update -g BepInEx.AssemblyPublicizer.Cli

SETLOCAL

SET ValheimInstallPath="C:\Program Files (x86)\Steam\steamapps\common\Valheim\BepInEx\plugins\EpicLoot"
echo ValheimInstallPath=%ValheimInstallPath%
SET PublicizePath=".\lib"
echo PublicizePath=%PublicizePath%
SET OPTIONS=--strip
echo OPTIONS=%OPTIONS%

echo == Publicizing EpicLoot.dll ==
call assembly-publicizer "%ValheimInstallPath:"=%\EpicLoot.dll" %OPTIONS% -o %PublicizePath%

ENDLOCAL

EXIT
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<Project Sdk="Microsoft.Build.NoTargets/1.0.26">

<PropertyGroup>
<AssemblyName>Digitalroot.Valheim.References.JvL</AssemblyName>
<TargetFrameworks>net462</TargetFrameworks>
<LangVersion>10</LangVersion>
<PackageId>Digitalroot.Valheim.References.JvL</PackageId>
<RootNamespace>Digitalroot.Valheim.References.JvL</RootNamespace>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<IncludeBuildOutput>false</IncludeBuildOutput>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageLicenseExpression>AGPL-3.0-or-later</PackageLicenseExpression>
<Copyright>Copyright © Digitalroot Technologies 2021 - 2023</Copyright>
<PackageProjectUrl>https://github.com/Digitalroot-Valheim/Digitalroot.Valheim.References</PackageProjectUrl>
<RepositoryUrl>https://github.com/Digitalroot-Valheim/Digitalroot.Valheim.References</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageIcon>ValheimRcon_black.png</PackageIcon>
<PackageIconUrl />
<PackageTags>valheim, digitalroot, mod references, JvL, Jötunn, Jotunn</PackageTags>
<Authors>Digitalroot</Authors>
<Company>Digitalroot Technologies</Company>
<Product>Digitalroot Valheim Jotunn (JvL) mod References</Product>
<Description>References for Valheim mod Jotunn (JvL)</Description>
<PackageReleaseNotes>Initial Release</PackageReleaseNotes>
<NeutralLanguage>en-US</NeutralLanguage>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<IncludeBuildOutput>false</IncludeBuildOutput>
<NoBuild>true</NoBuild>
<Version>2.12.7</Version>
<RestoreAdditionalProjectSources>
https://api.nuget.org/v3/index.json;
https://nuget.bepinex.dev/v3/index.json;
https://digitalroot-valheim-nuget.s3.us-west-2.amazonaws.com/index.json
</RestoreAdditionalProjectSources>
<ApplicationIcon>ValheimRcon_black.ico</ApplicationIcon>
<IsPublishable>False</IsPublishable>
<DebugType>none</DebugType>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net462|AnyCPU'">
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DebugType>none</DebugType>
<DebugSymbols>false</DebugSymbols>
</PropertyGroup>

<ItemGroup>
<None Include="..\ico\ValheimRcon_black.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<None Include="lib\*.*">
<Pack>True</Pack>
<PackagePath>ref\net462</PackagePath>
</None>
</ItemGroup>

</Project>
25 changes: 25 additions & 0 deletions src/Digitalroot.Valheim.References.JvL/Publicize.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
@echo off
SET DOTNET_SKIP_FIRST_TIME_EXPERIENCE = true
SET DOTNET_CLI_TELEMETRY_OPTOUT = true

echo == Installing BepInEx.AssemblyPublicizer.Cli ==
dotnet tool update -g BepInEx.AssemblyPublicizer.Cli

SETLOCAL

SET ValheimInstallPath="C:\Program Files (x86)\Steam\steamapps\common\Valheim\BepInEx\plugins\JvL"
echo ValheimInstallPath=%ValheimInstallPath%
SET PublicizePath=".\lib"
echo PublicizePath=%PublicizePath%
SET OPTIONS=--strip
echo OPTIONS=%OPTIONS%

echo == Publicizing Jotunn.dll ==
call assembly-publicizer "%ValheimInstallPath:"=%\Jotunn.dll" %OPTIONS% -o %PublicizePath%

echo == Copying Jotunn files to output directory ==
robocopy %ValheimInstallPath% %PublicizePath% Jotunn.* /R:3 /W:3 /XF "%ValheimInstallPath:"=%\Jotunn.dll"

ENDLOCAL

EXIT
Binary file not shown.
Binary file not shown.
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -24,30 +24,36 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{D1947A80-A
..\docs\README.md = ..\docs\README.md
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Digitalroot.Valheim.Common.References", "Digitalroot.Valheim.Common.References\Digitalroot.Valheim.Common.References.csproj", "{9EABDC9F-B065-4DAC-A070-8E23D836D4F1}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UnitTests", "UnitTests\UnitTests.csproj", "{CD69CB07-63E0-4A9A-BBA1-11E965126979}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Digitalroot.Valheim.Common.ModReferences", "Digitalroot.Valheim.Common.ModReferences\Digitalroot.Valheim.Common.ModReferences.csproj", "{80C8C8F7-A7F4-4041-8473-0C77BC401AB0}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Digitalroot.Valheim.References", "Digitalroot.Valheim.References\Digitalroot.Valheim.References.csproj", "{85E44F31-2FE7-47C7-B21E-4218FBF9E023}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Digitalroot.Valheim.References.EpicLoot", "Digitalroot.Valheim.References.EpicLoot\Digitalroot.Valheim.References.EpicLoot.csproj", "{75BC22B7-D930-4B5C-9AF7-3C49597EE421}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Digitalroot.Valheim.References.JvL", "Digitalroot.Valheim.References.JvL\Digitalroot.Valheim.References.JvL.csproj", "{8998BBD3-BBFA-42ED-8B36-26F88DC31908}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{9EABDC9F-B065-4DAC-A070-8E23D836D4F1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9EABDC9F-B065-4DAC-A070-8E23D836D4F1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9EABDC9F-B065-4DAC-A070-8E23D836D4F1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9EABDC9F-B065-4DAC-A070-8E23D836D4F1}.Release|Any CPU.Build.0 = Release|Any CPU
{CD69CB07-63E0-4A9A-BBA1-11E965126979}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CD69CB07-63E0-4A9A-BBA1-11E965126979}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CD69CB07-63E0-4A9A-BBA1-11E965126979}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CD69CB07-63E0-4A9A-BBA1-11E965126979}.Release|Any CPU.Build.0 = Release|Any CPU
{80C8C8F7-A7F4-4041-8473-0C77BC401AB0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{80C8C8F7-A7F4-4041-8473-0C77BC401AB0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{80C8C8F7-A7F4-4041-8473-0C77BC401AB0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{80C8C8F7-A7F4-4041-8473-0C77BC401AB0}.Release|Any CPU.Build.0 = Release|Any CPU
{85E44F31-2FE7-47C7-B21E-4218FBF9E023}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{85E44F31-2FE7-47C7-B21E-4218FBF9E023}.Debug|Any CPU.Build.0 = Debug|Any CPU
{85E44F31-2FE7-47C7-B21E-4218FBF9E023}.Release|Any CPU.ActiveCfg = Release|Any CPU
{85E44F31-2FE7-47C7-B21E-4218FBF9E023}.Release|Any CPU.Build.0 = Release|Any CPU
{75BC22B7-D930-4B5C-9AF7-3C49597EE421}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{75BC22B7-D930-4B5C-9AF7-3C49597EE421}.Debug|Any CPU.Build.0 = Debug|Any CPU
{75BC22B7-D930-4B5C-9AF7-3C49597EE421}.Release|Any CPU.ActiveCfg = Release|Any CPU
{75BC22B7-D930-4B5C-9AF7-3C49597EE421}.Release|Any CPU.Build.0 = Release|Any CPU
{8998BBD3-BBFA-42ED-8B36-26F88DC31908}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8998BBD3-BBFA-42ED-8B36-26F88DC31908}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8998BBD3-BBFA-42ED-8B36-26F88DC31908}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8998BBD3-BBFA-42ED-8B36-26F88DC31908}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
Loading

0 comments on commit 9ecf68c

Please sign in to comment.