fix: remove deprecated asset_name and asset_content_type parameters #5
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: Create Release | |
| on: | |
| push: | |
| tags: | |
| - 'v*.*.*' | |
| permissions: | |
| contents: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Get version from tag | |
| id: get_version | |
| run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT | |
| - name: Create extension package | |
| run: | | |
| # Create a temporary directory for the package | |
| mkdir -p dist | |
| # Copy necessary files (exclude dev files) | |
| rsync -av --exclude='.git' \ | |
| --exclude='.github' \ | |
| --exclude='node_modules' \ | |
| --exclude='dist' \ | |
| --exclude='.gitignore' \ | |
| --exclude='*.md' \ | |
| --exclude='release.sh' \ | |
| --exclude='*.backup' \ | |
| --exclude='.DS_Store' \ | |
| ./ dist/vertitab-enhanced/ | |
| # Create zip file | |
| cd dist | |
| zip -r "vertitab-enhanced-v${{ steps.get_version.outputs.VERSION }}.zip" vertitab-enhanced/ | |
| cd .. | |
| - name: Create Release | |
| uses: softprops/action-gh-release@v1 | |
| with: | |
| name: Vertical Tabs Enhanced v${{ steps.get_version.outputs.VERSION }} | |
| body: | | |
| ## Vertical Tabs - Enhanced Edition v${{ steps.get_version.outputs.VERSION }} | |
| ### Installation | |
| 1. Download the `vertitab-enhanced-v${{ steps.get_version.outputs.VERSION }}.zip` file below | |
| 2. Extract the zip file | |
| 3. Open Chrome and go to `chrome://extensions/` | |
| 4. Enable "Developer mode" | |
| 5. Click "Load unpacked" | |
| 6. Select the extracted `vertitab-enhanced` folder | |
| ### Features | |
| - ✨ Group close button functionality | |
| - 🔝 Top search bar as default | |
| - 🎯 Auto-focus search input | |
| - 📚 Fully documented and readable code | |
| ### Credits | |
| Original extension by [Guo Kai](https://guokai.dev/) | |
| files: ./dist/vertitab-enhanced-v${{ steps.get_version.outputs.VERSION }}.zip | |
| draft: false | |
| prerelease: false |