Skip to content
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
11 changes: 11 additions & 0 deletions .github/workflows/deploy-nupkg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: deploy-nupkg

on:
push:
tags:
- '**'

jobs:
deploy:
uses: millicast/github-actions-internal/.github/workflows/build_nupkg.yml@IOPS-5066
secrets: inherit
20 changes: 11 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
name: DigitalOcean.API CI
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
release:
types:
- created
# push:
# branches:
# - "*"
# pull_request:
# branches:
# - "*"
# release:
# types:
# - created
workflow_dispatch:

jobs:
build:
strategy:
Expand Down
46 changes: 46 additions & 0 deletions .gitversion.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
workflow: GitFlow/v1
# base version
next-version: 5.3.0
branches:
release:
label: rc
source-branches:
- main

feature:
prevent-increment:
when-current-commit-tagged: true
source-branches:
- main
- develop
- release
- hotfix

develop:
# we use the branch name next
regex: ^next$

hotfix:
source-branches:
- main

unknown:
source-branches:
- main
- develop
- release
- feature
- pull-request
- hotfix

pull-request:
source-branches:
- main
- develop
- release
- feature
- hotfix

# disabling
support:
regex: ^$
17 changes: 9 additions & 8 deletions DigitalOcean.API.Tests/DigitalOcean.API.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NSubstitute" Version="4.2.2" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<DotNetCliToolReference Include="dotnet-xunit" Version="2.3.1" />
<PackageReference Include="coverlet.collector" Version="6.0.0"/>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0"/>
<PackageReference Include="NSubstitute" Version="5.3.0" />
<PackageReference Include="NSubstitute.Analyzers.CSharp" Version="1.0.17" />
<PackageReference Include="xunit" Version="2.5.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.3" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\DigitalOcean.API\DigitalOcean.API.csproj" />
Expand Down
14 changes: 5 additions & 9 deletions DigitalOcean.API/DigitalOcean.API.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,18 @@
<TargetFramework>net6.0</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>vevix</Authors>
<Version>5.3.0-rc3</Version>
<Version>5.3.0-rc2</Version>
<Description>.NET wrapper of the DigitalOcean API</Description>
<Copyright>2019</Copyright>
<PackageId>DigitalOcean.API</PackageId>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/trmcnvn/DigitalOcean.API</PackageProjectUrl>
<PackageIconUrl>http://i.imgur.com/llqIpX6.png</PackageIconUrl>
<PackageIcon>icon.png</PackageIcon>
<RepositoryUrl>https://github.com/trmcnvn/DigitalOcean.API</RepositoryUrl>
<PackageTags>DigitalOcean API</PackageTags>
<PackageReleaseNotes>
### Added

- Added ContainerRegistry client. (@JoshClose)
</PackageReleaseNotes>
<IsPackable>true</IsPackable>
</PropertyGroup>
<PropertyGroup>
<PackageProjectUrl>https://github.com/millicast/DigitalOcean.API</PackageProjectUrl>
<RepositoryUrl>https://github.com/millicast/DigitalOcean.API</RepositoryUrl>
</PropertyGroup>
<ItemGroup>
<None Include="icon.png" Pack="true" Visible="false" PackagePath="" />
Expand Down