Browse Source

Fix tag upload

master
Kirill Nikolaev 5 months ago
parent
commit
ce7296224e
Signed by: sokket <sokket@oceancraft.ru> GPG Key ID: 082FDA12D688C5C1
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      .gitlab-ci.yml

+ 4
- 3
.gitlab-ci.yml View File

@@ -24,6 +24,8 @@ Upload:
-F "file=@libsysmetrics.a"
-F "file=@libsysmetrics.so"
https://repo.oceancraft.ru/lmetrics/latest
except:
- tags

Upload Tag:
stage: push
@@ -31,14 +33,13 @@ Upload Tag:
script:
- curl
-u $UPLOAD_TOKEN
-F projectName=lmetrics
-F name=$CI_COMMIT_TAG
-d projectName=lmetrics&name=$CI_COMMIT_TAG
https://repo.oceancraft.ru/-/tags/add
- curl
-u $UPLOAD_TOKEN
-F "file=@sysmetrics.h"
-F "file=@libsysmetrics.a"
-F "file=@libsysmetrics.so"
https://repo.oceancraft.ru/lmetrics/latest
https://repo.oceancraft.ru/lmetrics/$CI_COMMIT_TAG
only:
- tags

Loading…
Cancel
Save