Skip to content

Merge pull request #6409 from sbesson/jul_jcl_2.x #9

Merge pull request #6409 from sbesson/jul_jcl_2.x

Merge pull request #6409 from sbesson/jul_jcl_2.x #9

Workflow file for this run

name: "Build and push artifacts"
on:
push:
tags:
- '*'
jobs:
build:
name: Release artifacts
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set version
run: |
tag_name="${GITHUB_REF##*/}"
tag_name=$(grep -o '[0-9].*' <<< $tag_name)
tag_value="${tag_name}-ice36"
echo "omero.version=$tag_value" >> etc/local.properties
- name: Build and package
run: ./build.py build-dev release-all release-src
- name: Create a release and upload Release Assets
run: |
cd target
tag_name="${GITHUB_REF##*/}"
sha256sum ./*.zip >> SHASUMS
gh release create "$tag_name" ./*.zip SHASUMS
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}