Skip to content

Commit

Permalink
Merge pull request #62 from prashantgupta24/release-fix
Browse files Browse the repository at this point in the history
🐛 fix release test bug
  • Loading branch information
gabe-l-hart authored Oct 2, 2023
2 parents b57bde5 + 3a0dd25 commit 69bbf5a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ ARG PYPI_TOKEN
ARG RELEASE_VERSION
ARG RELEASE_DRY_RUN
RUN ./scripts/publish.sh
RUN touch completed.txt
# Create a temp file that the release_test stage uses to ensure
# correct order of build stages
RUN touch RELEASED.txt

## Release Test ################################################################
#
Expand All @@ -60,7 +62,7 @@ RUN touch completed.txt
FROM base as release_test
# Copy a random file from the release phase just
# to ensure release_test runs _after_ release
COPY --from=release completed.txt .
COPY --from=release /src/RELEASED.txt .
ARG RELEASE_VERSION
ARG RELEASE_DRY_RUN
COPY ./tests /src/tests
Expand Down

0 comments on commit 69bbf5a

Please sign in to comment.