Skip to content
This repository was archived by the owner on Sep 30, 2023. It is now read-only.

Commit 5db4b17

Browse files
committed
ci: откатил предыдущее изменение
1 parent 491276c commit 5db4b17

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.gitlab-ci.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ workflow:
2121
.version:
2222
variables:
2323
VERSION: ${GitVersion_SemVer}
24-
needs:
25-
- 'Prepare Version'
2624

2725
.no-git:
2826
variables:
@@ -47,6 +45,8 @@ Prepare Version:
4745
Build:
4846
stage: build
4947
extends: ['.tags', '.version']
48+
needs:
49+
- 'Prepare Version'
5050
script:
5151
- echo -e "${TXT_GREEN}Version = $VERSION"
5252
- dotnet restore
@@ -94,6 +94,7 @@ Run Tests:
9494
stage: test
9595
extends: ['.tags', '.version']
9696
needs:
97+
- 'Prepare Version'
9798
- 'Build'
9899
variables:
99100
TEST_PROJ: 'Cement.Cli.Tests/Cement.Cli.Tests.csproj'
@@ -168,6 +169,7 @@ Publish meta package:
168169
extends: ['.tags', '.version', '.meta-package-info']
169170
image: alpine:3.16
170171
needs:
172+
- 'Prepare Version'
171173
- 'Build'
172174
- 'Run Tests'
173175
- 'Create win10-x64 binary'
@@ -197,6 +199,7 @@ Create release:
197199
extends: ['.tags', '.version', '.meta-package-info', '.no-git']
198200
image: registry.gitlab.com/gitlab-org/release-cli:v0.14.0
199201
needs:
202+
- 'Prepare Version'
200203
- 'Publish meta package'
201204
rules:
202205
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH

0 commit comments

Comments
 (0)