Skip to content

Commit

Permalink
Update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sevein committed Mar 26, 2021
1 parent 8317283 commit c84fba8
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,17 @@ jobs:
version: latest
args: release
env:
GITHUB_TOKEN: ${{ secrets.QUBOT_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: success()
- name: Set RELEASE_VERSION
run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:11})
- name: Send notification to Jenkins
run: curl -Ls -X GET -G https://jenkins-ci.archivematica.org/job/am-packbuild/job/rpm-jenkinsci/buildWithParameters -d "token=$JENKINS_TOKEN" -d "PACKAGE=enduro" -d "VERSION=$RELEASE_VERSION" -d "RELEASE=1" -d "PACKBUILD_BRANCH=dev/enduro-package" -d "REPOSITORY=enduro"
env:
JENKINS_TOKEN: "${{ secrets.JENKINS_TOKEN }}"
RELEASE_VERSION: "${{ env.RELEASE_VERSION }}"
run: |
RELEASE_VERSION="${GITHUB_REF:11}"
curl -Ls -X GET -G \
https://jenkins-ci.archivematica.org/job/am-packbuild/job/rpm-jenkinsci/buildWithParameters \
-d "token=${{ secrets.JENKINS_TOKEN }}" \
-d "PACKAGE=enduro" \
-d "VERSION=${RELEASE_VERSION}" \
-d "RELEASE=1" \
-d "PACKBUILD_BRANCH=dev/enduro-package" \
-d "REPOSITORY=enduro"
if: success()

0 comments on commit c84fba8

Please sign in to comment.