From ee2ffeba7057de8e3890a2f78cc97df1cf7f7f83 Mon Sep 17 00:00:00 2001 From: Robert Wagner Date: Tue, 30 Jan 2024 16:11:01 +1000 Subject: [PATCH] Added creation of the Shim DbUp package --- .github/workflows/main.yml | 7 +++++++ README.md | 2 +- src/dbup/Shim.txt | 1 + src/dbup/dbup.nuspec | 24 ++++++++++++++++++++++++ 4 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 src/dbup/Shim.txt create mode 100644 src/dbup/dbup.nuspec diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 18198a1..f1a6bc8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,6 +27,9 @@ jobs: uses: actions/setup-dotnet@v1 with: dotnet-version: 8.0.x + + - name: Install NuGet + uses: NuGet/setup-nuget@v1.2.0 - name: Install GitVersion uses: gittools/actions/gitversion/setup@v0 @@ -59,6 +62,10 @@ jobs: - name: Pack run: dotnet pack --no-build -c Release -o ../artifacts /p:Version=$env:GitVersion_SemVer working-directory: src + + - name: Pack placeholder dbup package + run: nuget pack ./dbup/dbup.nuspec -OutputDirectory ../artifacts -Version $env:GitVersion_SemVer + working-directory: src - name: Push NuGet packages to GitHub Packages ⬆️ working-directory: artifacts diff --git a/README.md b/README.md index 5d0c5e0..6422b67 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/DbUp/dbup-sqlserver/CI/main)](https://github.com/DbUp/dbup-sqlserver/actions/workflows/main.yml?query=branch%3Amain) +[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/DbUp/dbup-sqlserver/main.yml?branch=main)](https://github.com/DbUp/dbup-sqlserver/actions/workflows/main.yml?query=branch%3Amain) [![NuGet](https://img.shields.io/nuget/dt/dbup-sqlserver.svg)](https://www.nuget.org/packages/dbup-sqlserver) [![NuGet](https://img.shields.io/nuget/v/dbup-sqlserver.svg)](https://www.nuget.org/packages/dbup-sqlserver) [![Prerelease](https://img.shields.io/nuget/vpre/dbup-sqlserver?color=orange&label=prerelease)](https://www.nuget.org/packages/dbup-sqlserver) diff --git a/src/dbup/Shim.txt b/src/dbup/Shim.txt new file mode 100644 index 0000000..5ca031f --- /dev/null +++ b/src/dbup/Shim.txt @@ -0,0 +1 @@ +This package is a shim for dbup-sqlserver and should be considered obsolete \ No newline at end of file diff --git a/src/dbup/dbup.nuspec b/src/dbup/dbup.nuspec new file mode 100644 index 0000000..3a5fd16 --- /dev/null +++ b/src/dbup/dbup.nuspec @@ -0,0 +1,24 @@ + + + + dbup + OBSOLETE: DbUp SqlServer Upgrade Shim + $version$ + Paul Stovell, Jim Burger, Jake Ginnivan, Damian Maclennan + This package exists to allow easy upgrades from pre-4.0 version This package was split into two packages dbup-core and dbup-sqlserver so that non SQL Server packages did not need to also + reference the SQL Server code. Uninstall this package and install dbup-sqlserver, or the package for the server(s) you are targeting instead! + en-US + MIT + + https://github.com/DbUp/DbUp/releases + https://dbup.github.io + dbup-icon.png + + + + + + + + +