Skip to content

Commit

Permalink
refactor(ci): log git refs when releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
npdgm committed Aug 8, 2022
1 parent 892642f commit 5957121
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ semantic-release:
stage: release
image: enix/semantic-release:gitlab
when: manual
before_script:
- git show-ref
script:
- "echo \"{\\\"repository\\\": \\\"https://github.com/${GITHUB_REPO}\\\"}\" > package.json"
- semantic-release --ci
Expand All @@ -102,6 +104,8 @@ release-assets:
image: golang:1.17
extends:
- .only-semver
before_script:
- git show-ref --tags
script:
- set -o xtrace
- export IFS=","
Expand Down

0 comments on commit 5957121

Please sign in to comment.