Skip to content

Commit f5d8f1f

Browse files
committed
Stop trying to create two releases through GitHub actions.
1 parent 1dcf7dc commit f5d8f1f

1 file changed

Lines changed: 0 additions & 28 deletions

File tree

.github/workflows/create-release.yaml

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -6,34 +6,6 @@ on:
66
- 'v*'
77

88
jobs:
9-
create-release:
10-
name: create_release
11-
runs-on: ubuntu-24.04
12-
steps:
13-
- name: Determine release properties
14-
shell: bash
15-
id: release_properties
16-
run: |
17-
tag=${GITHUB_REF#refs/tags/}
18-
OIFS=$IFS
19-
IFS='.' read -ra split <<< "$tag"
20-
IFS=$OIFS
21-
count=${#split[@]}
22-
[[ ${#split[@]} -eq 4 ]] && pre_release=true || pre_release=false
23-
[[ ${#split[@]} -eq 4 ]] && body="Pre-release of version $tag." || body="Version $tag."
24-
echo "PRE_RELEASE=$pre_release"
25-
echo "PRE_RELEASE=$pre_release" >> $GITHUB_OUTPUT
26-
echo "BODY=$body"
27-
echo "BODY=$body" >> $GITHUB_OUTPUT
28-
- name: create
29-
uses: softprops/action-gh-release@v1
30-
id: create_release
31-
env:
32-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33-
with:
34-
draft: false
35-
prerelease: ${{ steps.release_properties.outputs.pre_release }}
36-
body: ${{ steps.release_properties.outputs.body }}
379
release-package-to-pypi:
3810
if: github.repository == 'cmlibs/neon'
3911
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)