File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -184,6 +184,7 @@ nm.slack_notify() {
184184 archiveArtifacts(artifacts : ' *.tgz' )
185185 archiveArtifacts(artifacts : ' *.md5' )
186186 archiveArtifacts(artifacts : ' *.txt' )
187+ sh ' rm *ReleaseNotes.txt'
187188 stash name : ' text_files' , includes : ' *.txt'
188189 zip_and_archive_files(
189190 " tcpdirect-${ tcpdirect_version_long} -tarball-doxbox.zip" ,
Original file line number Diff line number Diff line change 2626 err " No Changelog file found in Tarball"
2727fi
2828
29+ if [ -f " $dir /ReleaseNotes" ]; then
30+ try mv " $dir /ReleaseNotes" " $dst /$dir -ReleaseNotes.txt"
31+ else
32+ err " No ReleaseNotes file found in Tarball"
33+ fi
34+
2935if [ -f " $dir /LICENSE" ]; then
3036 try mv " $dir /LICENSE" " $dst /$dir -LICENSE.txt"
3137else
Original file line number Diff line number Diff line change @@ -34,7 +34,12 @@ make_release_package() {
3434 fi
3535
3636 # Add documents to tarball
37+ # Currently only ReleaseNotes exists (in a separate branch), so checks are added for each file
3738 if [ -d " $doc_dir " ]; then
39+ if [ -f " ${doc_dir} /ReleaseNotes" ]; then
40+ cp " ${doc_dir} /ReleaseNotes" " ${stage_dir} "
41+ fi
42+
3843 if [ -f " ${doc_dir} /LICENSE" ]; then
3944 cp " ${doc_dir} /LICENSE" " ${stage_dir} "
4045 fi
You can’t perform that action at this time.
0 commit comments