Skip to content

Commit 7b37e70

Browse files
committed
ci: 🎡 WIP package publishing in CI
1 parent 86ce6f8 commit 7b37e70

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

‎.github/workflows/tag-publish.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
# uses: ./.github/workflows/01-cypress.yml
2828
# needs: [build]
2929

30-
logtag:
31-
name: Tag Name
30+
publishnext:
31+
name: Publish experimental Packages
3232
# needs: [test, cypress]
3333
# if: startsWith(github.event.ref, 'refs/tags/v')
3434
if: |
@@ -38,7 +38,7 @@ jobs:
3838
RELEASE_CONTEXT: ${{ toJson(github.event.release) }}
3939

4040
steps:
41-
- name: Log Tag Name
41+
- name: Publish experimental Packages
4242
run: |
4343
echo ${GITHUB_REF##*/}
4444
echo "event name is:" ${{ github.event_name }}
@@ -47,12 +47,12 @@ jobs:
4747
echo "event prerelease is:" ${{ github.event.release.prerelease }}
4848
echo "event asset dl is:" ${{ github.event.release.assets[0].browser_download_url }}
4949
echo "event asset dl type is:" ${{ github.event.release.assets[0].content_type }}
50-
echo "$RELEASE_CONTEXT"
51-
GIT_HASH_SHORT=$(git rev-parse --short "$GITHUB_SHA")
52-
echo "GIT_HASH_SHORT $GIT_HASH_SHORT"
50+
echo "RELEASE_CONTEXT: $RELEASE_CONTEXT"
51+
GITHUB_SHA_SHORT=$(echo $GITHUB_SHA | cut -c1-7)
52+
echo "GIT_SHA_SHORT $GIT_SHA_SHORT"
5353
npx find-versions-cli ${{ github.event.release.tag_name }}
5454
55-
onlyonmain:
55+
publishstable:
5656
name: Publish stable packages
5757
if: github.event.release.target_commitish == 'test-package-publishing' && github.event.release.prerelease == false
5858
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)