Skip to content

Commit

Permalink
ci: fix release for right project structure (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
chamini2 authored Dec 13, 2023
1 parent 2f19571 commit 5a51553
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ on:
options:
- patch
- minor
push:
branches:
# React to pushes to 'bump-proto-version-*' branch to release 'fal'
# whenever we have a new 'isolate-proto' version
- bump-proto-version-*

jobs:
release:
Expand All @@ -35,6 +30,7 @@ jobs:
run: pip install poetry-core=="1.4.*" poetry=="1.3.1"

- name: Add Datadog APP and API keys
working-directory: projects/fal
env:
DATADOG_API_KEY: ${{ secrets.FAL_SERVERLESS_CLI_DD_API_KEY }}
DATADOG_APP_KEY: ${{ secrets.FAL_SERVERLESS_CLI_DD_APP_KEY }}
Expand All @@ -50,6 +46,7 @@ jobs:
EOF
- name: Bump publishing version and build
working-directory: projects/fal
env:
VERSION_TYPE: ${{ github.event.inputs.version }}
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release_isolate_proto.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: PyPI release isolate-proto & trigger fal release
name: PyPI release isolate-proto

on:
workflow_dispatch:
Expand Down Expand Up @@ -32,7 +32,7 @@ jobs:
run: pip install poetry-core=="1.4.*" poetry=="1.3.1"

- name: Bump publishing version and build
working-directory: isolate_proto
working-directory: projects/isolate_proto
env:
VERSION_TYPE: ${{ github.event.inputs.version }}
run: |
Expand All @@ -53,11 +53,11 @@ jobs:
env:
PYPI_USERNAME: ${{ secrets.PYPI_USER }}
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
working-directory: isolate_proto
working-directory: projects/isolate_proto
run: poetry publish -u $PYPI_USERNAME -p $PYPI_PASSWORD -v -n

- name: Bump repo version
working-directory: isolate_proto
working-directory: projects/isolate_proto
run: |
poetry version prerelease
Expand Down

0 comments on commit 5a51553

Please sign in to comment.