Skip to content

Commit

Permalink
feat: version all backends to 0.1.0 (#66)
Browse files Browse the repository at this point in the history
Version the backends to 1.0.0
  • Loading branch information
tdejager authored Jan 21, 2025
1 parent 029e09b commit 66dbe49
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/rattler-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
pull_request:

name: "Build Conda Package"

permissions:
id-token: write
contents: read
Expand All @@ -18,13 +17,13 @@ jobs:
outputs:
version: ${{ steps.set_version.outputs.version }}
steps:
- name: Set up datetime
id: datetime
run: echo "datetime=$(date -u +'%Y%m%d%H%M%S')" >> $GITHUB_ENV
- uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: actions/checkout@v4
- name: Set version
id: set_version
run: |
VERSION="0.1.0dev${{ env.datetime }}"
# Modify this if we split up in different crates so we can version them differently
VERSION=$(cargo metadata --format-version=1 --no-deps | jq -r '.packages[] | "\(.version)"')
echo "Generated version: $VERSION"
echo "version=$VERSION" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 66dbe49

Please sign in to comment.