diff --git a/.gitlab-ci-scripts/release.sh b/.gitlab-ci-scripts/release.sh deleted file mode 100755 index 8f492297..00000000 --- a/.gitlab-ci-scripts/release.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -set -e -if [ -z "$CI_COMMIT_TAG" ]; then .gitlab-ci-scripts/set-prerel-version.sh; fi; -.gitlab-ci-scripts/goreleaser.sh -.gitlab-ci-scripts/upload.sh - -curl -d "repo=github.com/oidc-mytoken/server" https://goreportcard.com/checks diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index aa9cda24..3b47abbe 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -84,7 +84,11 @@ prerelease: before_script: - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin "$DOCKER_REGISTRY" script: - - .gitlab-ci-scripts/release.sh + - if [ -z "$CI_COMMIT_TAG" ]; then .gitlab-ci-scripts/set-prerel-version.sh; fi; + - .gitlab-ci-scripts/goreleaser.sh + - .gitlab-ci-scripts/upload.sh + after_script: + - curl -d "repo=github.com/oidc-mytoken/server" https://goreportcard.com/checks deploy-dev: stage: deploy