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 6bd5848 commit d97d154Copy full SHA for d97d154
.gitlab-ci.yml
@@ -193,9 +193,9 @@ variables:
193
194
.rpm_script:
195
script:
196
- - cp ${RPM_DIR}/.rpmmacros ${HOME}
197
# temp
198
- - make conf/git_commit_id
+ - echo "%git_commit $CI_COMMIT_SHA" >> ${RPM_DIR}/.rpmmacros
+ - cp ${RPM_DIR}/.rpmmacros ${HOME}
199
- ci-build-pkg ${RPM_DIR}
200
201
.deb_script:
rpm/packetfence.spec
@@ -352,6 +352,8 @@ done
352
%{__make} bin/pfcmd
353
# build ntlm_auth_wrapper
354
%{__make} bin/ntlm_auth_wrapper
355
+# Define git_commit_id
356
+echo %{git_commit} > conf/git_commit_id
357
358
# build golang binaries
359
%{__make} -C go all
0 commit comments