diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..172a997 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,40 @@ +on: + push: + tags: + - 'v*' +name: Build & Release +jobs: + build: + name: Upload Release Asset + runs-on: ubuntu-latest + steps: + - name: Get the version + id: get_version + run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3) + - name: Checkout code + uses: actions/checkout@v2 + - name: Build project + run: | + yarn install + yarn build + zip -r artifact dist/ + - name: Create Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ github.ref }} + release_name: Release ${{ github.ref }} + draft: false + prerelease: false + - name: Upload Release Asset + id: upload-release-asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ./artifact.zip + asset_name: graphql-inspector-${{ steps.get_version.outputs.VERSION }}.zip + asset_content_type: application/zip diff --git a/assets/icon128.png b/assets/icon128.png index de0ac92..38b9ac0 100644 Binary files a/assets/icon128.png and b/assets/icon128.png differ diff --git a/assets/icon16.png b/assets/icon16.png index cf32d44..65e6c73 100644 Binary files a/assets/icon16.png and b/assets/icon16.png differ diff --git a/assets/icon48.png b/assets/icon48.png index 3c44351..ea339f7 100644 Binary files a/assets/icon48.png and b/assets/icon48.png differ diff --git a/assets/manifest.json b/assets/manifest.json index c743183..0e75289 100755 --- a/assets/manifest.json +++ b/assets/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, - "name": "Chrome Extension (built with TypeScript + React)", - "description": "A boilerplate project to quickly build a Chrome extension using TypeScript and React (built using webpack).", + "name": "GraphQL Inspector", + "description": "Inspect GraphQL requests.", "version": "1.0.0", "minimum_chrome_version": "43", "devtools_page": "devtools.html",