Skip to content

Commit

Permalink
License and automated release
Browse files Browse the repository at this point in the history
  • Loading branch information
tschm committed Jan 27, 2025
1 parent 2a9d0ef commit 1b6e8c3
Showing 1 changed file with 1 addition and 42 deletions.
43 changes: 1 addition & 42 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@ jobs:
if: >
github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.head_branch == 'main'
runs-on: ubuntu-latest
#outputs:
# tag: ${{ steps.tag_version.outputs.tag }}
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
Expand All @@ -27,45 +25,6 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

#- name: Bump version and tag
# id: tag_version
# uses: mathieudutour/[email protected]
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}

#- name: Create GitHub release
# uses: softprops/action-gh-release@v2
# with:
# tag_name: ${{ steps.tag_version.outputs.new_tag }}
# generate_release_notes: true

#build:
# needs: tag
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4

#- name: Setup Python
# uses: actions/setup-python@v5
# with:
# python-version: '3.12'

#- name: Install hatch
# run: |
# pip install hatch

- name: Build package
run: |
echo "Environment ${{ env.tag }}"
sed -i "s/0.0.0/${{ steps.tag_version.outputs.tag }}/" pyproject.toml
# Constructs the dist folder
hatch build
- uses: actions/upload-artifact@v4
with:
name: dist
path: dist


publish:
needs: tag
Expand Down

0 comments on commit 1b6e8c3

Please sign in to comment.