diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..722320c4 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,20 @@ +name: Release +on: + release: + types: [published] +jobs: + release: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + path: "thorvg" + - name: Create source archive + run: | + rm -rf ./thorvg/.git* ./thorvg/res + tar -I "gzip -9" -cf thorvg.tar.gz thorvg + - name: Upload to release + uses: softprops/action-gh-release@v2 + with: + files: thorvg.tar.gz diff --git a/CONTRIBUTORS b/CONTRIBUTORS index a57a3457..65126458 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -43,3 +43,4 @@ Jakub Marcowski Thaddeus Crews Benjamin Benson Muite +kkocdko \ No newline at end of file