Skip to content

Merge pull request #476 from PixlOne/fix-cve-2024-45752 #15

Merge pull request #476 from PixlOne/fix-cve-2024-45752

Merge pull request #476 from PixlOne/fix-cve-2024-45752 #15

Workflow file for this run

name: Publish release tarball
on:
push:
tags:
- 'v*.*'
jobs:
publish:
name: Publish release tarball
runs-on: ubuntu-latest
env:
ARCHIVE_NAME: logiops-${{ github.ref_name }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: recursive
- name: Add version info
run: echo ${{ github.ref_name }} > version.txt
- name: Remove git repo info
run: find . -name '.git' | xargs rm -rf
- name: Create tarball
run: |
find * -type f| tar caf /tmp/$ARCHIVE_NAME.tar.gz \
--xform s:^:$ARCHIVE_NAME/: --verbatim-files-from -T-
mv /tmp/$ARCHIVE_NAME.tar.gz .
- name: Upload release asset
uses: softprops/[email protected]
with:
files: logiops-${{ github.ref_name }}.tar.gz