diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..37402b0 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,33 @@ +name: Build on tag creation + +on: + push: + tags: + - '*' + + jobs: + build: + name: Build bib2xml.phar and update release + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Set up PHP v8.2 + uses: nanasess/setup-php@v4 + with: + php-version: '8.2' + + - name: Build project + run: | + php -f create-phar.php + move bin\bib2xml.phar.gz bin\bib2xml.phar + + - name: Update release + uses: svenstaro/upload-release-action@v2 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: bin\bib2xml.phar + asset_name: bib2xml.phar + tag: ${{ github.ref }} + overwrite: true diff --git a/README.md b/README.md index 316e7b4..2aa87f7 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,10 @@ php bib2xml.phar convert input_translation.bblx Changelog: ---------- +* v0.6.1.0 (2024-08-26): + - upgraded PHP to v8.2 + - added GitHub Action for build automation + * v0.6.0.0 (2023-11-24): - added `csv` input format support