Skip to content

Commit 69b0a4c

Browse files
ci: provide correct paths for publishing libraries
1 parent 0263e1d commit 69b0a4c

9 files changed

+20
-20
lines changed

.github/workflows/publish_garf_bid_manager.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
- name: Get versions and check for change
2727
id: version_check
2828
run: |
29-
PREV_VERSION=$(git show HEAD~1:libs/community/google/bid-manager/garf_bid_manager/__init__.py | grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
30-
CURRENT_VERSION=$(grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" libs/community/google/bid-manager/garf_bid_manager/__init__.py | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
29+
PREV_VERSION=$(git show HEAD~1:libs/community/google/bid-manager/garf/community/google/bid_manager/__init__.py | grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
30+
CURRENT_VERSION=$(grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" libs/community/google/bid-manager/garf/community/google/bid_manager/__init__.py | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
3131
3232
if [[ "$CURRENT_VERSION" != "$PREV_VERSION" ]]; then
3333
echo "Version change detected: $PREV_VERSION -> $CURRENT_VERSION"

.github/workflows/publish_garf_exporter.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
- name: Get versions and check for change
2727
id: version_check
2828
run: |
29-
PREV_VERSION=$(git show HEAD~1:libs/exporters/garf_exporter/__init__.py | grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
30-
CURRENT_VERSION=$(grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" libs/exporters/garf_exporter/__init__.py | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
29+
PREV_VERSION=$(git show HEAD~1:libs/exporters/garf/exporter/__init__.py | grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
30+
CURRENT_VERSION=$(grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" libs/exporters/garf/exporter/__init__.py | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
3131
3232
if [[ "$CURRENT_VERSION" != "$PREV_VERSION" ]]; then
3333
echo "Version change detected: $PREV_VERSION -> $CURRENT_VERSION"

.github/workflows/publish_garf_google_ads.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
- name: Get versions and check for change
2727
id: version_check
2828
run: |
29-
PREV_VERSION=$(git show HEAD~1:libs/community/google/ads/garf_google_ads/__init__.py | grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
30-
CURRENT_VERSION=$(grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" libs/community/google/ads/garf_google_ads/__init__.py | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
29+
PREV_VERSION=$(git show HEAD~1:libs/community/google/ads/garf/community/google/ads/__init__.py | grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
30+
CURRENT_VERSION=$(grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" libs/community/google/ads/garf/community/google/ads/__init__.py | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
3131
3232
if [[ "$CURRENT_VERSION" != "$PREV_VERSION" ]]; then
3333
echo "Version change detected: $PREV_VERSION -> $CURRENT_VERSION"

.github/workflows/publish_garf_google_analytics.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ on:
55
branches:
66
- main
77
paths:
8-
- 'libs/community/google/google-analytics/**'
9-
- '!libs/community/google/google-analytics/*.md'
8+
- 'libs/community/google/analytics/**'
9+
- '!libs/community/google/analytics/*.md'
1010

1111
jobs:
1212
publish:
@@ -26,8 +26,8 @@ jobs:
2626
- name: Get versions and check for change
2727
id: version_check
2828
run: |
29-
PREV_VERSION=$(git show HEAD~1:libs/community/google/google-analytics/garf_google_analytics/__init__.py | grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
30-
CURRENT_VERSION=$(grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" libs/community/google/google-analytics/garf_google_analytics/__init__.py | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
29+
PREV_VERSION=$(git show HEAD~1:libs/community/google/analytics/garf/community/google/analytics/__init__.py | grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
30+
CURRENT_VERSION=$(grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" libs/community/google/analytics/garf/community/google/analytics/__init__.py | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
3131
3232
if [[ "$CURRENT_VERSION" != "$PREV_VERSION" ]]; then
3333
echo "Version change detected: $PREV_VERSION -> $CURRENT_VERSION"

.github/workflows/publish_garf_knowledge_graph.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
- name: Get versions and check for change
2727
id: version_check
2828
run: |
29-
PREV_VERSION=$(git show HEAD~1:libs/community/google/knowledge-graph/garf_knowledge_graph_api/__init__.py | grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
30-
CURRENT_VERSION=$(grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" libs/community/google/knowledge-graph/garf_knowledge_graph_api/__init__.py | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
29+
PREV_VERSION=$(git show HEAD~1:libs/community/google/knowledge-graph/garf/community/google/knowledge_graph/__init__.py | grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
30+
CURRENT_VERSION=$(grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" libs/community/google/knowledge-graph/garf/community/google/knowledge_graph/__init__.py | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
3131
3232
if [[ "$CURRENT_VERSION" != "$PREV_VERSION" ]]; then
3333
echo "Version change detected: $PREV_VERSION -> $CURRENT_VERSION"

.github/workflows/publish_garf_merchant_center.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
- name: Get versions and check for change
2727
id: version_check
2828
run: |
29-
PREV_VERSION=$(git show HEAD~1:libs/community/google/merchant/garf_merchant_api/__init__.py | grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
30-
CURRENT_VERSION=$(grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" libs/community/google/merchant/garf_merchant_api/__init__.py | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
29+
PREV_VERSION=$(git show HEAD~1:libs/community/google/merchant/garf/community/google/merchant/__init__.py | grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
30+
CURRENT_VERSION=$(grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" libs/community/google/merchant/garf/community/google/merchant/__init__.py | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
3131
3232
if [[ "$CURRENT_VERSION" != "$PREV_VERSION" ]]; then
3333
echo "Version change detected: $PREV_VERSION -> $CURRENT_VERSION"

.github/workflows/publish_pypi_core.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
- name: Get versions and check for change
2727
id: version_check
2828
run: |
29-
PREV_VERSION=$(git show HEAD~1:libs/core/garf_core/__init__.py | grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
30-
CURRENT_VERSION=$(grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" libs/core/garf_core/__init__.py | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
29+
PREV_VERSION=$(git show HEAD~1:libs/core/garf/core/__init__.py | grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
30+
CURRENT_VERSION=$(grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" libs/core/garf/core/__init__.py | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
3131
3232
if [[ "$CURRENT_VERSION" != "$PREV_VERSION" ]]; then
3333
echo "Version change detected: $PREV_VERSION -> $CURRENT_VERSION"

.github/workflows/publish_pypi_executors.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
- name: Get versions and check for change
2727
id: version_check
2828
run: |
29-
PREV_VERSION=$(git show HEAD~1:libs/executors/garf_executors/__init__.py | grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
30-
CURRENT_VERSION=$(grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" libs/executors/garf_executors/__init__.py | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
29+
PREV_VERSION=$(git show HEAD~1:libs/executors/garf/executors/__init__.py | grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
30+
CURRENT_VERSION=$(grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" libs/executors/garf/executors/__init__.py | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
3131
3232
if [[ "$CURRENT_VERSION" != "$PREV_VERSION" ]]; then
3333
echo "Version change detected: $PREV_VERSION -> $CURRENT_VERSION"

.github/workflows/publish_pypi_io.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
- name: Get versions and check for change
2727
id: version_check
2828
run: |
29-
PREV_VERSION=$(git show HEAD~1:libs/io/garf_io/__init__.py | grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
30-
CURRENT_VERSION=$(grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" libs/io/garf_io/__init__.py | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
29+
PREV_VERSION=$(git show HEAD~1:libs/io/garf/io/__init__.py | grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
30+
CURRENT_VERSION=$(grep -oE "__version__ = '([0-9]+\.[0-9]+\.[0-9]+)'" libs/io/garf/io/__init__.py | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
3131
3232
if [[ "$CURRENT_VERSION" != "$PREV_VERSION" ]]; then
3333
echo "Version change detected: $PREV_VERSION -> $CURRENT_VERSION"

0 commit comments

Comments
 (0)