Skip to content

Commit

Permalink
Added creation of the Shim DbUp package
Browse files Browse the repository at this point in the history
  • Loading branch information
droyad committed Jan 30, 2024
1 parent d9805d9 commit ee2ffeb
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
1 change: 1 addition & 0 deletions src/dbup/Shim.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This package is a shim for dbup-sqlserver and should be considered obsolete
24 changes: 24 additions & 0 deletions src/dbup/dbup.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<package>
<metadata>
<id>dbup</id>
<title>OBSOLETE: DbUp SqlServer Upgrade Shim</title>
<version>$version$</version>
<authors>Paul Stovell, Jim Burger, Jake Ginnivan, Damian Maclennan</authors>
<description>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!</description>
<language>en-US</language>
<license type="expression">MIT</license>
<repository type="git" url="https://github.com/DbUp/DbUp.git" />
<releaseNotes>https://github.com/DbUp/DbUp/releases</releaseNotes>
<projectUrl>https://dbup.github.io</projectUrl>
<icon>dbup-icon.png</icon>
<dependencies>
<dependency id="dbup-sqlserver" version="$version$" />
</dependencies>
</metadata>
<files>
<file src="Shim.txt" target="" />
<file src="../dbup-icon.png" target="" />
</files>
</package>

0 comments on commit ee2ffeb

Please sign in to comment.