Skip to content

Workflow file for this run

name: Create release package
on:
push:
tags:
- v*
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- uses: actions/checkout@v4
- name: Debug
run: |
ls -alh
- name: Create version.json
run: |
echo "{ \"version\": \"${{ env.RELEASE_VERSION }}\", \"git_ref\": \"$GITHUB_SHA\"}" > journalert/version.json
- name: Create tar
run: tar -czf /tmp/rdo-journalert-private_${{ env.RELEASE_VERSION }}.tar.gz .
- name: Upload release tar
uses: actions/upload-artifact@v4
with:
name: rdo-journalert-private_${{ env.RELEASE_VERSION }}
path: /tmp/rdo-journalert-private_${{ env.RELEASE_VERSION }}.tar.gz