@@ -128,9 +128,11 @@ jobs:
128
128
echo "" >> ${WORKDIR}/versiontag.txt
129
129
echo "This is a test or pre-release tag: to use it, install it directly as follows" >> ${WORKDIR}/versiontag.txt
130
130
echo "" >> ${WORKDIR}/versiontag.txt
131
- echo "```" >> ${WORKDIR}/versiontag.txt
131
+ echo "<sub>" >> ${WORKDIR}/versiontag.txt # hack to display smaller text in markdown
132
+ ###echo "\`\`\`" >> ${WORKDIR}/versiontag.txt
132
133
echo "MG5_aMC>install cudacpp --cudacpp_tarball=https://github.com/${REPOSITORY}/releases/download/${tagname}/cudacpp.tar.gz" >> ${WORKDIR}/versiontag.txt
133
- echo "```" >> ${WORKDIR}/versiontag.txt
134
+ ###echo "\`\`\`" >> ${WORKDIR}/versiontag.txt
135
+ echo "</sub>" >> ${WORKDIR}/versiontag.txt # hack to display smaller text in markdown
134
136
echo "" >> ${WORKDIR}/versiontag.txt
135
137
echo "---" >> ${WORKDIR}/versiontag.txt
136
138
fi
@@ -159,7 +161,7 @@ jobs:
159
161
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
160
162
161
163
- name : delete_runningtag_releaseandtag
162
- if : ${{ env.tagname_isprerelease != '0' }}
164
+ if : ${{ env.TAGNAME_ISPRERELEASE != '0' }}
163
165
# See https://cli.github.com/manual/gh_release_delete
164
166
# See https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/using-github-cli-in-workflows
165
167
run : |
@@ -181,7 +183,7 @@ jobs:
181
183
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
182
184
183
185
- name : create_runningtag
184
- if : ${{ env.tagname_isprerelease != '0' }}
186
+ if : ${{ env.TAGNAME_ISPRERELEASE != '0' }}
185
187
run : |
186
188
echo "Current directory is $(pwd)"
187
189
echo "WORKDIR is ${WORKDIR}"
@@ -213,7 +215,7 @@ jobs:
213
215
uses : softprops/action-gh-release@v2
214
216
with :
215
217
name : ${{ env.TAGNAME }}
216
- prerelease : ${{ env.TAGNAME_ISPRERELEASE }}
218
+ prerelease : ${{ env.TAGNAME_ISPRERELEASE != '0' }}
217
219
body_path : versiontag.txt
218
220
# Previous attempt to upload files from ${HOME}/VERSION.txt and ${HOME}/cudacpp.tar.gz failed
219
221
# The current implementation uploads files from the default ${WORKDIR} (without giving the explicit full path)
@@ -224,7 +226,7 @@ jobs:
224
226
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
225
227
226
228
- name : release_runningtag
227
- if : ${{ env.tagname_isprerelease != '0' }}
229
+ if : ${{ env.TAGNAME_ISPRERELEASE != '0' }}
228
230
# See https://github.com/softprops/action-gh-release
229
231
uses : softprops/action-gh-release@v2
230
232
with :
@@ -240,7 +242,7 @@ jobs:
240
242
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
241
243
242
244
- name : create_infodat
243
- if : ${{ env.tagname_isprerelease != '0' }}
245
+ if : ${{ env.TAGNAME_ISPRERELEASE != '0' }}
244
246
run : |
245
247
echo "Current directory is $(pwd)"
246
248
echo "WORKDIR is ${WORKDIR}"
@@ -255,14 +257,14 @@ jobs:
255
257
cat ${WORKDIR}/version_info.dat
256
258
257
259
- name : checkout_INFO
258
- if : ${{ env.tagname_isprerelease != '0' }}
260
+ if : ${{ env.TAGNAME_ISPRERELEASE != '0' }}
259
261
uses : actions/checkout@v4
260
262
with :
261
263
ref : INFO
262
264
path : branch_INFO
263
265
264
266
- name : commit_infodat
265
- if : ${{ env.tagname_isprerelease != '0' }}
267
+ if : ${{ env.TAGNAME_ISPRERELEASE != '0' }}
266
268
run : |
267
269
echo "Current directory is $(pwd)"
268
270
echo "WORKDIR is ${WORKDIR}"
0 commit comments