We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2ffc48 commit 9cee828Copy full SHA for 9cee828
.gitlab-ci.yml
@@ -78,7 +78,7 @@ build:
78
script:
79
- sed -i '/^[[:space:]]*$/d' ./DESCRIPTION ## make last line end abruptly; i.e. without a final \n
80
- |
81
- sed -i "0,/^Version: [0-9.]\+$/s//&-$(TZ=UTC git log -1 --format=%ct)/" ./DESCRIPTION
+ sed -i "0,/^Version: [0-9.]\+$/s//&-$(date -d "$CI_COMMIT_TIMESTAMP" +%s)/" ./DESCRIPTION
82
- echo "Revision:" $CI_COMMIT_SHA >> ./DESCRIPTION
83
- R CMD build .
84
- mkdir -p bus/$CI_JOB_NAME/
0 commit comments