Skip to content

Commit dff9a4a

Browse files
Hopefully fixing some oopsies
1 parent 98a0bce commit dff9a4a

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ publish:tag:
101101
script:
102102
- apk add --update --no-cache curl
103103
- npm install -g semver
104-
- curl -qsX POST -H "Private-Token:${GITLAB_API_TOKEN}" -F ref="${CI_COMMIT_REF_NAME}" -F tag_name="$(cat "${VERSION_FILE}")" "https://gitlab.com/api/v4/projects/${CI_PROJECT_ID}/repository/tags" > /dev/null 2>&1
104+
- curl -qsX POST -H "Private-Token:${GITLAB_API_TOKEN}" -F ref="${CI_COMMIT_SHA}" -F tag_name="$(cat "${VERSION_FILE}")" "https://gitlab.com/api/v4/projects/${CI_PROJECT_ID}/repository/tags" > /dev/null 2>&1
105105
only:
106106
- master
107107

.travis.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
if: tag IS present AND tag != latest
22

3-
os:
4-
- linux
5-
- osx
6-
- windows
7-
83
git:
94
depth: false
105

@@ -26,10 +21,18 @@ cache: cargo
2621
jobs:
2722
include:
2823
- stage: build
24+
os:
25+
- linux
26+
- osx
27+
- windows
2928
before_script: sed -i "s/version = \"0.0.0\"/version = \"$(VERSION=${TRAVIS_TAG} ./version.sh tags)\"/" Cargo.toml
3029
script:
3130
- cargo build --verbose --release
3231
- stage: deploy
32+
os:
33+
- linux
34+
- osx
35+
- windows
3336
deploy:
3437
provider: releases
3538
api_key:
@@ -39,6 +42,10 @@ jobs:
3942
on:
4043
tags: true
4144
- stage: deploy
45+
os:
46+
- linux
47+
- osx
48+
- windows
4249
env:
4350
- TRAVIS_TAG=latest
4451
deploy:

0 commit comments

Comments
 (0)