Skip to content

Commit

Permalink
Merge branch '186-update-yq-command-in-ci' into 'main'
Browse files Browse the repository at this point in the history
Resolve "Update yq command in CI"

Closes #186

See merge request fireline/simulators/simfire!138
  • Loading branch information
doyled-it committed Dec 8, 2023
2 parents 51fd92d + 02c24a0 commit 00981b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ tag:
- MR=$(git log -1 | grep -Po '(?<=fireline/simulators/simfire)(.*?).*')
- echo -e "# Version ${VERSION}\n\nThis version includes:\n\n* ${LOG} (closed ${ISSUE} with merge request ${MR})" > RELEASE.md
- MESSAGE="$(php -r "echo json_encode(['name' => '$VERSION', 'tag_name' => '$VERSION', 'description' => file_get_contents('RELEASE.md')]);")"
- yq e -i '.version=${VERSION} | .date-released="'$(date +'%Y-%m-%d')'"' CITATION.cff
- yq e -i '.version="'${VERSION}'" | .date-released="'$(date +'%Y-%m-%d')'"' CITATION.cff
- !reference [.commit_version, script]
- git tag -a $VERSION -m "$VERSION"
- git push origin $VERSION
Expand Down

0 comments on commit 00981b0

Please sign in to comment.