Skip to content

Commit

Permalink
Update release-dev.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tychobrailleur authored Dec 3, 2023
1 parent cd27e32 commit 858bae8
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/release-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,6 @@ jobs:
tag_name: ${{ steps.read_version_properties.outputs.tag }}
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
- name: Create tag
if: ${{ steps.read_version_properties.outputs.tag == 'dev'}}
uses: actions/github-script@v5
with:
script: |
github.rest.git.createRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: 'refs/tags/dev',
sha: context.sha
})
- name: Create a Release
uses: softprops/action-gh-release@v1
env:
Expand All @@ -66,7 +55,7 @@ jobs:
name: ${{ steps.read_version_properties.outputs.version }}
tag_name: ${{ steps.read_version_properties.outputs.tag }}
body_path: docs/md/release_notes.md
target_commitish: ${{ steps.read_version_properties.outputs.branch }}
target_commitish: ${{ github.sha }}
draft: false
prerelease: true
- name: If not dev-release delete previous short version tag
Expand Down

0 comments on commit 858bae8

Please sign in to comment.