message: Moved release notes build step to the end of the build; Implemented creation of release notes including checksum summary
diff: @@ -357,29 +357,6 @@ pipeline {
  }
  }
  }
  - stage('Create Github release') {
  - when {
  - expression {
  - return isReleaseExisting(
  - user: 'spectrecoin',
  - repository: 'spectre',
  - tag: "${GIT_TAG_TO_USE}"
  - ) ==~ false
  - }
  - }
  - steps {
  - script {
  - createRelease(
  - user: 'spectrecoin',
  - repository: 'spectre',
  - tag: "${GIT_TAG_TO_USE}",
  - name: "${RELEASE_NAME}",
  - description: "${RELEASE_DESCRIPTION}",
  - preRelease: "${PRERELEASE}"
  - )
  - }
  - }
  - }
  }
  }
  stage('Build steps') {
  @@ -814,6 +791,44 @@ pipeline {
  }
  }
  }
  + stage('Create Github release') {
  + when {
  + expression {
  + return isReleaseExisting(
  + user: 'spectrecoin',
  + repository: 'spectre',
  + tag: "${GIT_TAG_TO_USE}"
  + ) ==~ false
  + }
  + }
  + steps {
  + script {
  + sh(
  + script:"""
  + if test -e ${RELEASE_DESCRIPTION} ; then
  + cp ${RELEASE_DESCRIPTION} ${WORKSPACE}/releaseNotesToDeploy.txt
  + else
  + echo "${RELEASE_DESCRIPTION}" > ${WORKSPACE}/releaseNotesToDeploy.txt
  + fi
  + for currentChecksumfile in Checksum-Spectrecoin-CentOS.txt Checksum-Spectrecoin-Debian.txt Checksum-Spectrecoin-Fedora.txt Checksum-Spectrecoin-Mac.txt Checksum-Spectrecoin-OBFS4-Mac.txt Checksum-Spectrecoin-OBFS4-WIN64.txt Checksum-Spectrecoin-Qt5.12-OBFS4-WIN64.txt Checksum-Spectrecoin-Qt5.12-WIN64.txt Checksum-Spectrecoin-RaspberryPi.txt Checksum-Spectrecoin-Ubuntu.txt Checksum-Spectrecoin-WIN64.txt ; do
  + wget https://ci.spectreproject.io/job/Spectrecoin/job/spectre/job/${GIT_BRANCH}/${BUILD_NUMBER}/artifact/${currentChecksumfile} || true
  + if test -e ${currentChecksumfile} ; then
  + cat ${currentChecksumfile} >> ${WORKSPACE}/releaseNotesToDeploy.txt
  + fi
  + done
  + """
  + )
  + createRelease(
  + user: 'spectrecoin',
  + repository: 'spectre',
  + tag: "${GIT_TAG_TO_USE}",
  + name: "${RELEASE_NAME}",
  + description: "${WORKSPACE}/releaseNotesToDeploy.txt",
  + preRelease: "${PRERELEASE}"
  + )
  + }
  + }
  + }
  }
  post {
  success {
  