Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
afuetterer committed Dec 1, 2023
1 parent 2408ecb commit 15a2643
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,15 +134,9 @@ jobs:
- name: Get short commit SHA
id: short-sha
run: echo "sha=$(git rev-parse --short $GITHUB_SHA)" >> $GITHUB_OUTPUT

- run: echo "The current short commit SHA is ${{ steps.short-sha.outputs.sha }}"

- name: Get current version (MAJOR.MINOR.PATCH)
id: current-version
run: echo "current_version=$(grep -Po "[\d.]+" rdmo/__init__.py)" >> $GITHUB_OUTPUT

- run: echo "The current version is ${{ steps.current-version.outputs.current_version }}"

- name: Update version
run: |
NEW_VERSION="${{ steps.current-version.outputs.current_version }}dev${{ steps.short-sha.outputs.sha }}"
Expand All @@ -161,6 +155,7 @@ jobs:
python-version: '3.12'
cache: pip
- run: python -m pip install --upgrade build pip setuptools wheel
- run: python -m pip list
- run: python -m build --wheel
- uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 15a2643

Please sign in to comment.