Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
afuetterer committed Dec 2, 2023
1 parent 15a2643 commit e59b520
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,9 @@ jobs:
run: echo "current_version=$(grep -Po "[\d.]+" rdmo/__init__.py)" >> $GITHUB_OUTPUT
- name: Update version
run: |
NEW_VERSION="${{ steps.current-version.outputs.current_version }}dev${{ steps.short-sha.outputs.sha }}"
NEW_VERSION="${{ steps.current-version.outputs.current_version }}.dev0+${{ steps.short-sha.outputs.sha }}"
sed -i "s/__version__ = .*/__version__ = \"$NEW_VERSION\"/" rdmo/__init__.py
- run: cat rdmo/__init__.py

- uses: actions/setup-node@v4
with:
node-version: 18
Expand Down

0 comments on commit e59b520

Please sign in to comment.