Release v1.3.2 #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build and Release | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Build XPI | |
| run: | | |
| # Create the .xpi file by zipping contents associated with the extension | |
| # Exclude git directories, DS_Store, node_modules, and the xpi itself if it exists | |
| zip -r rep-plus.xpi * -x "*.git*" -x "*.DS_Store" -x "node_modules/*" -x "*.xpi" -x ".github/*" | |
| - name: Create Release | |
| uses: softprops/action-gh-release@v1 | |
| with: | |
| files: rep-plus.xpi | |
| draft: false | |
| prerelease: false | |
| generate_release_notes: true |