Skip to content

Commit

Permalink
Merge pull request #7 from ricaun-io/develop
Browse files Browse the repository at this point in the history
Version 2.0.0
  • Loading branch information
ricaun authored Aug 20, 2024
2 parents 4a94822 + a590c3f commit 7a4732e
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 9 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@ jobs:
- uses: actions/checkout@v1

- name: NuGet Setup
uses: actions/setup-dotnet@v2
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
- name: "NuGet Add Source Organization"
run: if ("${{ secrets.ORGANIZATION_SOURCE_PACKAGE_PASSWORD }}" -ne "") { dotnet nuget add source --username ${{ secrets.ORGANIZATION_SOURCE_PACKAGE_USERNAME }} --password ${{ secrets.ORGANIZATION_SOURCE_PACKAGE_PASSWORD }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/${{github.repository_owner}}/index.json" }
dotnet-version: 8.0.x

- name: Run './build/build.cmd'
run: ./build/build.cmd --root ./build
Expand Down
3 changes: 2 additions & 1 deletion Autodesk.Forge.Oss/Autodesk.Forge.Oss.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

<PropertyGroup>
<PackageId>ricaun.Autodesk.Forge.Oss</PackageId>
<Version>1.0.2</Version>
<Version>2.0.0</Version>
<ProjectGuid>{54AC7247-0A9C-4A56-835B-D1790800647B}</ProjectGuid>
</PropertyGroup>

Expand All @@ -61,6 +61,7 @@
<RepositoryUrl>https://github.com/$(GitHubRepositoryOwner)/$(GitHubRepository)</RepositoryUrl>
<RepositoryType>github</RepositoryType>
<PackageIcon>icon.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageIconUrl />
</PropertyGroup>

Expand Down
6 changes: 6 additions & 0 deletions Build/.nuke/build.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@
"type": "string"
}
},
"ReleaseFolder": {
"type": "string"
},
"ReleaseNameVersion": {
"type": "boolean"
},
Expand Down Expand Up @@ -134,6 +137,9 @@
"TestResults": {
"type": "boolean"
},
"UnlistNuget": {
"type": "boolean"
},
"Verbosity": {
"type": "string",
"description": "Logging verbosity during build execution. Default is 'Normal'",
Expand Down
2 changes: 1 addition & 1 deletion Build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using ricaun.Nuke;
using ricaun.Nuke.Components;

class Build : NukeBuild, IPublishPack, ITest
class Build : NukeBuild, IPublishPack, ITest, IPrePack
{
public static int Main() => Execute<Build>(x => x.From<IPublishPack>().Build);
}
2 changes: 1 addition & 1 deletion Build/Build.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace></RootNamespace>
<NoWarn>CS0649;CS0169</NoWarn>
<NukeRootDirectory>.</NukeRootDirectory>
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [2.0.0] / 2024-08-20
### Features
- Support `APS OAuth V2`.
### Updated
- Update `Autodesk.Forge` to `1.9.9`. (Fix #6)

## [1.0.2] / 2023-08-09
### Updated
- Update `Autodesk.Forge` to `1.9.8` - (Migrate from OAuth V1 to OAuth V2)
Expand All @@ -20,6 +26,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Add `Autodesk.Forge.Oss.Tests` project

[vNext]: ../../compare/1.0.0...HEAD
[2.0.0]: ../../compare/1.0.2...2.0.0
[1.0.2]: ../../compare/1.0.1...1.0.2
[1.0.1]: ../../compare/1.0.0...1.0.1
[1.0.0]: ../../compare/1.0.0
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Nuke](https://img.shields.io/badge/Nuke-Build-blue)](https://nuke.build/)
[![License MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
[![Build](../../actions/workflows/Build.yml/badge.svg)](../../actions)
[![Release](https://img.shields.io/nuget/v/ricaun.Autodesk.Forge.Oss?logo=nuget&label=release&color=blue)](https://www.nuget.org/packages/ricaun.Autodesk.Forge.Oss)
[![Nuget](https://img.shields.io/nuget/v/ricaun.Autodesk.Forge.Oss?logo=nuget&label=nuget&color=blue)](https://www.nuget.org/packages/ricaun.Autodesk.Forge.Oss)

## Overview

Expand All @@ -18,7 +18,7 @@
### Requirements

- [.NET 6](https://dotnet.microsoft.com/en-us/download/dotnet/6.0) or later
- A registered app on the [Forge Developer Portal](http://forge.autodesk.com).
- A registered app on the [Autodesk Platform Service](https://aps.autodesk.com/).

### Dependencies

Expand Down

0 comments on commit 7a4732e

Please sign in to comment.