Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e162baf5
Commit
e162baf5
authored
May 26, 2021
by
Tim Rizzi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix v4 api variable for conan and nuget
parent
0697e2e6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
doc/user/packages/conan_repository/index.md
doc/user/packages/conan_repository/index.md
+1
-1
doc/user/packages/nuget_repository/index.md
doc/user/packages/nuget_repository/index.md
+1
-1
No files found.
doc/user/packages/conan_repository/index.md
View file @
e162baf5
...
@@ -281,7 +281,7 @@ image: conanio/gcc7
...
@@ -281,7 +281,7 @@ image: conanio/gcc7
create_package
:
create_package
:
stage
:
deploy
stage
:
deploy
script
:
script
:
-
${CI_API_V4_URL}/projects/$CI_PROJECT_ID/packages/conan
-
conan remote add gitlab
${CI_API_V4_URL}/projects/$CI_PROJECT_ID/packages/conan
-
conan new <package-name>/0.1 -t
-
conan new <package-name>/0.1 -t
-
conan create . <group-name>+<project-name>/stable
-
conan create . <group-name>+<project-name>/stable
-
CONAN_LOGIN_USERNAME=ci_user CONAN_PASSWORD=${CI_JOB_TOKEN} conan upload <package-name>/0.1@<group-name>+<project-name>/stable --all --remote=gitlab
-
CONAN_LOGIN_USERNAME=ci_user CONAN_PASSWORD=${CI_JOB_TOKEN} conan upload <package-name>/0.1@<group-name>+<project-name>/stable --all --remote=gitlab
...
...
doc/user/packages/nuget_repository/index.md
View file @
e162baf5
...
@@ -336,7 +336,7 @@ updated:
...
@@ -336,7 +336,7 @@ updated:
stage
:
deploy
stage
:
deploy
script
:
script
:
-
dotnet pack -c Release
-
dotnet pack -c Release
-
dotnet nuget add source "${CI_API_V4_URL}/$
CI_PROJECT_ID
/packages/nuget/index.json" --name gitlab --username gitlab-ci-token --password $CI_JOB_TOKEN --store-password-in-clear-text
-
dotnet nuget add source "${CI_API_V4_URL}/$
{CI_PROJECT_ID}
/packages/nuget/index.json" --name gitlab --username gitlab-ci-token --password $CI_JOB_TOKEN --store-password-in-clear-text
-
dotnet nuget push "bin/Release/*.nupkg" --source gitlab
-
dotnet nuget push "bin/Release/*.nupkg" --source gitlab
only
:
only
:
-
master
-
master
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment