Skip to content

Commit

Permalink
fix publish
Browse files Browse the repository at this point in the history
  • Loading branch information
ptixed committed Jul 5, 2024
1 parent f2f43e4 commit fbf26b8
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 38 deletions.
32 changes: 12 additions & 20 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,19 @@ name: publish to nuget
on:
push:
branches:
- master
- master
jobs:
publish:
name: build, pack & publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: publish on version change
id: publish_nuget
uses: alirezanet/[email protected]
with:
PROJECT_FILE_PATH: Ptixed.Sql.SqlServer/Ptixed.Sql.SqlServer.csproj
PACKAGE_NAME: Ptixed.Sql

VERSION_FILE_PATH: Ptixed.Sql.SqlServer/Ptixed.Sql.SqlServer.csproj
VERSION_REGEX: ^\s*<Version>(.*)<\/Version>\s*$

TAG_COMMIT: true
TAG_FORMAT: v*

NUGET_KEY: ${{secrets.NUGET_API_KEY}}
NUGET_SOURCE: https://api.nuget.org

INCLUDE_SYMBOLS: false
- uses: actions/checkout@v2
- uses: alirezanet/[email protected]
with:
PROJECT_FILE_PATH: Ptixed.Sql/Ptixed.Sql.csproj
TAG_FORMAT: Ptixed.Sql.v*
TAG_COMMIT: true
- uses: alirezanet/[email protected]
with:
PROJECT_FILE_PATH: Ptixed.Sql.SqlServer/Ptixed.Sql.SqlServer.csproj
TAG_FORMAT: Ptixed.Sql.SqlServer.v*
TAG_COMMIT: true
14 changes: 0 additions & 14 deletions Ptixed.Sql.Postgres/Ptixed.Sql.Postgres.csproj
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<SignAssembly>False</SignAssembly>
<Title>Ptixed.Sql.Postgres</Title>
<Version>0.1.0</Version>
<Description>Library for interacting with Microsoft SQL databases</Description>
<Authors>ptixed</Authors>
<RepositoryUrl>https://github.com/ptixed/Ptixed.Sql</RepositoryUrl>
<PackageTags>ptixed sql tsql database db</PackageTags>
<AssemblyVersion>0.1.0</AssemblyVersion>
<FileVersion>0.1.0</FileVersion>
<Company />
<PackageIconUrl>https://raw.githubusercontent.com/ptixed/Ptixed.Sql/master/logo-nuget.png</PackageIconUrl>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Npgsql" Version="8.0.3" />
</ItemGroup>
Expand Down
8 changes: 4 additions & 4 deletions Ptixed.Sql.SqlServer/Ptixed.Sql.SqlServer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<SignAssembly>False</SignAssembly>
<Title>Ptixed.Sql</Title>
<Version>0.9.0</Version>
<Title>Ptixed.Sql.SqlServer</Title>
<Version>1.0.0</Version>
<Description>Library for interacting with Microsoft SQL databases</Description>
<Authors>ptixed</Authors>
<RepositoryUrl>https://github.com/ptixed/Ptixed.Sql</RepositoryUrl>
<PackageTags>ptixed sql tsql database db</PackageTags>
<AssemblyVersion>0.9.0</AssemblyVersion>
<FileVersion>0.9.0</FileVersion>
<AssemblyVersion>1.0.0</AssemblyVersion>
<FileVersion>1.0.0</FileVersion>
<Company />
<PackageIconUrl>https://raw.githubusercontent.com/ptixed/Ptixed.Sql/master/logo-nuget.png</PackageIconUrl>
</PropertyGroup>
Expand Down
14 changes: 14 additions & 0 deletions Ptixed.Sql/Ptixed.Sql.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<SignAssembly>False</SignAssembly>
<Title>Ptixed.Sql</Title>
<Version>1.0.1</Version>
<Description>Library for interacting with SQL databases; base classes</Description>
<Authors>ptixed</Authors>
<RepositoryUrl>https://github.com/ptixed/Ptixed.Sql</RepositoryUrl>
<PackageTags>ptixed sql database db</PackageTags>
<AssemblyVersion>1.0.1</AssemblyVersion>
<FileVersion>1.0.1</FileVersion>
<Company />
<PackageIconUrl>https://raw.githubusercontent.com/ptixed/Ptixed.Sql/master/logo-nuget.png</PackageIconUrl>
</PropertyGroup>
<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
</PropertyGroup>
Expand Down

0 comments on commit fbf26b8

Please sign in to comment.