diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0a7dfc787..d15bb7028 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -123,6 +123,8 @@ publish-medusa-package: stage: publish-medusa-package allow_failure: true rules: + - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' + when: never - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_TAG script: - LAST_TAG=$(git describe --tags --abbrev=0) diff --git a/remove-migration.ps1 b/remove-migration.ps1 index 877458391..a53a1c720 100644 --- a/remove-migration.ps1 +++ b/remove-migration.ps1 @@ -1,4 +1,4 @@ -dotnet ef migrations remove -c SqliteContext -f -dotnet ef migrations remove -c PostgreSqlContext -f -dotnet ef migrations remove -c MysqlContext -f +dotnet ef migrations remove -c SqliteContext -f -p src/NadekoBot/NadekoBot.csproj +dotnet ef migrations remove -c PostgreSqlContext -f -p src/NadekoBot/NadekoBot.csproj +dotnet ef migrations remove -c MysqlContext -f -p src/NadekoBot/NadekoBot.csproj