From d045ccd6c0d0c7d428c6e6df073faef360cdf815 Mon Sep 17 00:00:00 2001 From: Deepyaman Datta Date: Tue, 28 May 2024 23:28:37 -0600 Subject: [PATCH] ci(release): look for `__version__`, not `version` --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index eabafb7..2129bd2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v4 - name: Add unique post-release segment to publish to TestPyPI if: "!startsWith(github.ref, 'refs/tags/')" # only modify version when publishing to TestPyPI - run: sed -i "s/^version = \"\([0-9]\+\.[0-9]\+\.[0-9]\+\)\"$/\1.post$(date +%s)/" ibis_ml/__init__.py + run: sed -i "s/^__version__ = \"\([0-9]\+\.[0-9]\+\.[0-9]\+\)\"$/\1.post$(date +%s)/" ibis_ml/__init__.py - name: Set up Python uses: actions/setup-python@v4 with: