Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running into post errors with the release endpoint #16

Closed
jonhilgart22 opened this issue Apr 9, 2020 · 3 comments
Closed

Running into post errors with the release endpoint #16

jonhilgart22 opened this issue Apr 9, 2020 · 3 comments
Assignees
Labels
bug Looks like an issue v3 Release v3.x.x

Comments

@jonhilgart22
Copy link

Description:

A clear and concise description of what the bug is
image

Tag:

ml-fast-api-server0.1.0

Workflow:


on:
  push:
    tags: #anytime a new tag is pushed that matches this pattern, trigger the workflow
     - "ml-fastapi-server/*"

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v1
      - name: Get the version from the github tag
        id: get_version
        run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF##*/}
      - name: Echo the version tag
        run: |
          echo ${{ env.RELEASE_VERSION }}
      - name: Release
        uses: docker://antonyurchenko/git-release:latest
        env:
            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
            DRAFT_RELEASE: "false"
            PRE_RELEASE: "false"
            CHANGELOG_FILE: "ml-fastapi-server/CHANGELOG.md"
            ALLOW_EMPTY_CHANGELOG: "false"
            ALLOW_TAG_PREFIX: "true"
        with:
          args: |
            ml-fastapi-server/dist/ml_fastapi_server-${{ env.RELEASE_VERSION }}-py3-none-any.whl
            ml-fastapi-server/dist/ml-fastapi-server-${{ env.RELEASE_VERSION }}.tar.gz

Changelog:

## [0.1.0] - 2020-04-07

## Added

- First PR to test changelog

### Changed

- Nothing

### Removed

- Nothing
@jonhilgart22
Copy link
Author

I'm not sure if this is an issue with this action or with my permissions on github

@jonhilgart22
Copy link
Author

@anton-yurchenko any ideas?

@anton-yurchenko anton-yurchenko added the bug Looks like an issue label Apr 10, 2020
@anton-yurchenko
Copy link
Owner

Hello @jonhilgart22,
There was indeed a bug with tags containing / that was fixed in today's release v3.1.2.

Please test again with v3.1.2/latest.

Thanks for raising this issue. 👍

@anton-yurchenko anton-yurchenko added the v3 Release v3.x.x label Apr 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Looks like an issue v3 Release v3.x.x
Projects
None yet
Development

No branches or pull requests

2 participants