Skip to content
Snippets Groups Projects
Commit 49bda593 authored by Martin Larralde's avatar Martin Larralde
Browse files

Fix missing Rust sources in `MANIFEST.in` [ci skip]

parent 84d3669a
No related branches found
No related tags found
No related merge requests found
...@@ -113,7 +113,7 @@ jobs: ...@@ -113,7 +113,7 @@ jobs:
publish: publish:
needs: test needs: test
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/v')" if: "startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, 'post') && !contains(github.ref, 'alpha')"
environment: Crates.io environment: Crates.io
name: Publish crates name: Publish crates
steps: steps:
...@@ -132,16 +132,13 @@ jobs: ...@@ -132,16 +132,13 @@ jobs:
release: release:
environment: GitHub Releases environment: GitHub Releases
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/v')" if: "startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, 'post') && !contains(github.ref, 'alpha')"
name: Release name: Release
needs: publish needs: publish
permissions:
contents: write
pull-requests: read
steps: steps:
- name: Checkout code - uses: actions/checkout@v4
uses: actions/checkout@v3 with:
- name: Release a Changelog submodules: true
uses: rasmus-saks/release-a-changelog-action@v1.2.0 - uses: rasmus-saks/release-a-changelog-action@v1.2.0
with: with:
github-token: '${{ secrets.GITHUB_TOKEN }}' github-token: '${{ secrets.GITHUB_TOKEN }}'
...@@ -4,11 +4,12 @@ include CHANGELOG.md ...@@ -4,11 +4,12 @@ include CHANGELOG.md
include README.md include README.md
include pyproject.toml include pyproject.toml
# exclude Cargo.toml include Cargo.toml
# exclude Cargo.lock
recursive-include lightmotif *.rs Cargo.toml README.md recursive-include lightmotif *.rs Cargo.toml README.md
recursive-include lightmotif-py *.rs Cargo.toml README.md *.py recursive-include lightmotif-io *.rs Cargo.toml README.md
recursive-include lightmotif-tfmpvalue *.rs Cargo.toml README.md
recursive-include lightmotif-py *.rs Cargo.toml README.md *.py
include .cargo/config.toml include .cargo/config.toml
recursive-include crates * recursive-include crates *
...@@ -37,6 +37,7 @@ project_urls = ...@@ -37,6 +37,7 @@ project_urls =
Bug Tracker = https://github.com/althonos/lightmotif/issues Bug Tracker = https://github.com/althonos/lightmotif/issues
Changelog = https://github.com/althonos/lightmotif/blob/master/CHANGELOG.md Changelog = https://github.com/althonos/lightmotif/blob/master/CHANGELOG.md
Coverage = https://codecov.io/gh/althonos/lightmotif/ Coverage = https://codecov.io/gh/althonos/lightmotif/
Documentation = https://lightmotif.readthedocs.io/
Builds = https://github.com/althonos/lightmotif/actions/ Builds = https://github.com/althonos/lightmotif/actions/
PyPI = https://pypi.org/project/lightmotif PyPI = https://pypi.org/project/lightmotif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment