Skip to content

Removed Windows OS from tests #13

Removed Windows OS from tests

Removed Windows OS from tests #13

Workflow file for this run

name: Auto Release Creation
on:
push:
branches: ["main"]
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
create-release:
name: 🏷️ Create New Release
runs-on: ubuntu-22.04
if: startsWith(github.event.head_commit.message, 'Bump version to')
timeout-minutes: 5
steps:
- name: 📥 Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 📝 Extract Version
id: version
run: |
VERSION=$(echo "${{ github.event.head_commit.message }}" | grep -oP 'Bump version to \K[^ ]+')
echo "Version detected: $VERSION"
echo "version=$VERSION" >> $GITHUB_OUTPUT
- name: 🏷️ Get Previous Tag
id: previoustag
run: |
PREV_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "v0.0.0")
echo "Previous tag: $PREV_TAG"
echo "tag=$PREV_TAG" >> $GITHUB_OUTPUT
- name: 🚀 Create Release
uses: softprops/action-gh-release@v2
with:
tag_name: v${{ steps.version.outputs.version }}
name: "🎉 StreamSnapper ${{ steps.version.outputs.version }} - Summary"
body: |
## 📦 Installation Options
StreamSnapper is available on [GitHub](https://github.com/henrique-coder/streamsnapper) and [PyPI](https://pypi.org/project/streamsnapper).
### Available Extras:
- 🎬 YouTube Tools: `streamsnapper[youtube]`
- 📥 Downloader: `streamsnapper[downloader]`
- 🔄 Merger: `streamsnapper[merger]`
- ✨ All Features: `streamsnapper[all]`
> **Important:** Install using `pip install -U streamsnapper[EXTRA]`. Installing without extras won't provide any tools. Choose the components you need!
### 📋 Changelog:
- _Generating release notes..._
### 📊 Compare Changes
[View all changes](https://github.com/Henrique-Coder/streamsnapper/compare/${{ steps.previoustag.outputs.tag }}...v${{ steps.version.outputs.version }})
draft: false
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}