Skip to content

Commit e4b196b

Browse files
Revert bump-version.yml changes per user request, keep only release validation
Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
1 parent 5a29783 commit e4b196b

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

.github/workflows/bump-version.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,6 @@ jobs:
6161
- name: Bump version
6262
run: |
6363
sed -i 's/^version = "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*"/version = "${{ inputs.cli-version }}"/' ./pyproject.toml
64-
- name: Convert git hash reference to package version format (if needed)
65-
run: |
66-
PACKAGES_FILE="./elementary/monitor/dbt_project/packages.yml"
67-
if grep -q 'git: https://github.com/elementary-data/dbt-data-reliability.git' "$PACKAGES_FILE"; then
68-
echo "Found git hash reference in packages.yml, converting to package version format..."
69-
# Replace the git+revision block with a package+version block using a placeholder version
70-
sed -i '/- git: https:\/\/github.com\/elementary-data\/dbt-data-reliability.git/{N;s/- git: https:\/\/github.com\/elementary-data\/dbt-data-reliability.git\n revision: [a-fA-F0-9]\{7,40\}/- package: elementary-data\/elementary\n version: 0.0.0/}' "$PACKAGES_FILE"
71-
echo "Converted to package format with placeholder version."
72-
else
73-
echo "packages.yml already uses package version format."
74-
fi
7564
- name: Bump version for package (using input)
7665
if: ${{ needs.validate-version.outputs.validated-dbt-package-version != ''}}
7766
run: |

0 commit comments

Comments
 (0)