mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
fix(build): 🐛🔨 fix migrations proj name
This commit is contained in:
parent
0abf3e6b97
commit
4b3dabd426
1 changed files with 2 additions and 2 deletions
|
|
@ -101,7 +101,7 @@ steps:
|
|||
targetType: inline
|
||||
workingDirectory: services/directory/src
|
||||
script: |
|
||||
MIGLIST=$(dotnet ef migrations list -p FilterLists.Infrastructure.Migrations -s FilterLists.Directory.Api)
|
||||
MIGLIST=$(dotnet ef migrations list -p FilterLists.Directory.Infrastructure.Migrations -s FilterLists.Directory.Api)
|
||||
echo "$MIGLIST"
|
||||
if [[ $MIGLIST == *$SYSTEM_PULLREQUEST_PULLREQUESTNUMBER ]] ; then
|
||||
echo "A migration already exists for PR #$SYSTEM_PULLREQUEST_PULLREQUESTNUMBER. Reverting..."
|
||||
|
|
@ -129,7 +129,7 @@ steps:
|
|||
condition: and(eq(variables['abortJustMigrated.aborted'], 'false'), succeeded())
|
||||
inputs:
|
||||
workingDirectory: services/directory/src
|
||||
script: dotnet ef migrations add $(System.PullRequest.PullRequestNumber) -p FilterLists.Infrastructure.Migrations -s FilterLists.Directory.Api
|
||||
script: dotnet ef migrations add $(System.PullRequest.PullRequestNumber) -p FilterLists.Directory.Infrastructure.Migrations -s FilterLists.Directory.Api
|
||||
|
||||
- task: Bash@3
|
||||
displayName: commit or abandon no-op migration
|
||||
|
|
|
|||
Loading…
Reference in a new issue