-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[install] in archiver.yml, revert last commit (remove tag date and ta…
…g author to the release notes, it does not work if it is not an annotated tag) Revert "[install] in archiver.yml, try to add tag date and tag author to the release notes - will revert, only works for annotated tags" This reverts commit 1feb468
- Loading branch information
Showing
1 changed file
with
0 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,9 +60,6 @@ jobs: | |
run: | | ||
echo "Current directory is $(pwd)" | ||
echo "WORKDIR is ${WORKDIR}" | ||
cd branch_PR | ||
echo "Current directory is now $(pwd)" | ||
echo "Current branch is \"$(git branch | \grep ^* | sed 's/^* //')\"" | ||
githubref=$${{ github.ref }} | ||
echo "(From github.ref) githubref = ${githubref}" | ||
tagname=${githubref#/tags/} | ||
|
@@ -121,9 +118,6 @@ jobs: | |
echo "INFO: tagname ${tagname} is a pre-release tag: will NOT update running tag ${tagname_latest}" | ||
fi | ||
echo "TAGNAME_MAKELATEST=${tagname_makelatest}" >> $GITHUB_ENV | ||
dateformat='%Y-%m-%d_%H:%M:%S UTC' | ||
tagdate=$(TZ=UTC git for-each-ref --format "Tag '${tagname}' created on %(taggerdate:format-local:${dateformat}) by %(taggername)" refs/tags/${tagname}) | ||
echo "TAGDATE=${tagdate}" >> $GITHUB_ENV | ||
# Update VERSION.txt | ||
echo "" >> ${WORKDIR}/VERSION.txt | ||
echo "VERSION TAG: ${tagname}" >> ${WORKDIR}/VERSION.txt | ||
|
@@ -133,8 +127,6 @@ jobs: | |
echo "" >> ${WORKDIR}/versiontag.txt | ||
echo "Validated for mg5amcnlo version ${mg5_version} (commit [${mg5_commit}](https://github.com/mg5amcnlo/mg5amcnlo/commit/${mg5_commit}))" >> ${WORKDIR}/versiontag.txt | ||
echo "" >> ${WORKDIR}/versiontag.txt | ||
echo "${tagdate}" >> ${WORKDIR}/versiontag.txt | ||
echo "" >> ${WORKDIR}/versiontag.txt | ||
echo "---" >> ${WORKDIR}/versiontag.txt | ||
echo "" >> ${WORKDIR}/versiontag.txt | ||
if [ "${tagname_makelatest}" != "true" ]; then | ||
|
@@ -213,7 +205,6 @@ jobs: | |
mg5_commit=$(cat ${WORKDIR}/VERSION.txt | awk '/^mg5_commit_current/{print $3}') | ||
echo "(From VERSION.txt) mg5_version_current = ${mg5_version}" | ||
echo "(From VERSION.txt) mg5_commit_current = ${mg5_commit}" | ||
tagdate=${TAGDATE} | ||
# Create running tag | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
|
@@ -226,8 +217,6 @@ jobs: | |
echo "" >> ${WORKDIR}/runningtag.txt | ||
echo "Validated for mg5amcnlo version ${mg5_version} (commit [${mg5_commit}](https://github.com/mg5amcnlo/mg5amcnlo/commit/${mg5_commit}))" >> ${WORKDIR}/runningtag.txt | ||
echo "" >> ${WORKDIR}/runningtag.txt | ||
echo "${tagdate}" >> ${WORKDIR}/runningtag.txt | ||
echo "" >> ${WORKDIR}/runningtag.txt | ||
echo "---" >> ${WORKDIR}/runningtag.txt | ||
echo "" >> ${WORKDIR}/runningtag.txt | ||
cat ${WORKDIR}/VERSION.txt | egrep '^(commit|TARBALL) ' >> ${WORKDIR}/runningtag.txt | ||
|