Skip to content

Version updated to 0.8.3 #13

Version updated to 0.8.3

Version updated to 0.8.3 #13

Workflow file for this run

name: Create Release
on:
push:
branches:
- main
paths:
- 'package.json'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20.8.0'
- name: Install Dependencies
run: npm install
- name: Build the Project
run: npm run build
- name: Get the version
id: get_version
run: echo "VERSION=$(jq -r .version package.json)" >> $GITHUB_ENV
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.VERSION }}
release_name: Release ${{ env.VERSION }}
draft: false
prerelease: false
- name: Upload Release Asset ZIP
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./release/bionic-reading-epub-converter-webapp_v${{ env.VERSION }}.zip
asset_name: Bionic_Reading_Epub_Converter_WebApp_v${{ env.VERSION }}.zip
asset_content_type: application/zip
- name: Commit changes to docs
run: |
git config --local user.email "actions@github.com"
git config --local user.name "GitHub Actions"
git add docs
git commit -m "Update docs for version ${{ env.VERSION }}"
git push