diff --git a/.github/workflows/cargo-test-publish.yaml b/.github/workflows/cargo-test-publish.yaml index 2e21b5c..4869b8e 100644 --- a/.github/workflows/cargo-test-publish.yaml +++ b/.github/workflows/cargo-test-publish.yaml @@ -13,13 +13,9 @@ jobs: with: python-version: '3.x' - - name: Generate changelog info - run: | - # todo: make this part of yaclog! + - name: Setup Python Tools + run: pip install yaclog~=1.1 - yaclog show - echo "VERSION_TITLE=$(yaclog show -n)" >> $GITHUB_ENV - echo "$(yaclog show -mb)" >> /tmp/RELEASE.md - name: Setup Rust toolchain uses: actions-rs/toolchain@v1 @@ -36,6 +32,14 @@ jobs: - name: Run Unit Tests run: cargo test + - name: Generate changelog info + continue-on-error: true + run: | + # todo: make this part of yaclog! + echo "VERSION_TITLE=$(yaclog show -n)" >> $GITHUB_ENV + echo "$(yaclog show -mb)" >> /tmp/RELEASE.md + yaclog show + - name: Publish to Crates.io if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') run: cargo publish --token ${{ secrets.CARGO_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index db521d2..cf5ca4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ # Changelog -All notable changes to this project will be documented in this file \ No newline at end of file +All notable changes to this project will be documented in this file + +## Unreleased + +initial commit \ No newline at end of file