From 62871cabf4fe3240f8b2bfab028f126c36d807d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BCdiger=20K=C3=BCpper?= Date: Wed, 11 Dec 2024 12:01:24 +0100 Subject: [PATCH] fix: test tag --- .github/workflows/develop.yaml | 38 +++++++++++++++++----------------- .github/workflows/main.yaml | 4 +++- 2 files changed, 22 insertions(+), 20 deletions(-) diff --git a/.github/workflows/develop.yaml b/.github/workflows/develop.yaml index e95cb14..9a2f4ba 100644 --- a/.github/workflows/develop.yaml +++ b/.github/workflows/develop.yaml @@ -30,27 +30,27 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.MO_CLI_TOKEN }} - - name: Install Node.js - uses: actions/setup-node@v3 - with: - node-version: "18" + # - name: Install Node.js + # uses: actions/setup-node@v3 + # with: + # node-version: "18" - - name: Install dependencies - run: npm install + # - name: Install dependencies + # run: npm install - - name: Apply Changesets - id: changesets - run: | - # Bump the version and commit the changes - npx changeset version - # Push the changes back to the repo - git config user.name "github-actions[bot]" - git config user.email "github-actions[bot]@users.noreply.github.com" - git push --follow-tags origin ${{ github.ref_name }} - - - name: Extract new version - id: get_version - run: echo "tag=$(node -p \"require('./package.json').version\")" >> $GITHUB_ENV + # - name: Apply Changesets + # id: changesets + # run: | + # # Bump the version and commit the changes + # npx changeset version + # # Push the changes back to the repo + # git config user.name "github-actions[bot]" + # git config user.email "github-actions[bot]@users.noreply.github.com" + # git push --follow-tags origin ${{ github.ref_name }} + + # - name: Extract new version + # id: get_version + # run: echo "tag=$(node -p \"require('./package.json').version\")" >> $GITHUB_ENV # - name: Create Sematic Release Version # run: | # git config --global user.email "ruediger@pretzlaff.info" diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index f91c135..52c2642 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -90,7 +90,9 @@ jobs: - name: Get latest tag id: get_tag - run: echo "tag=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV + run: + echo "current tag=$(git describe --tags --abbrev=0)" + echo "tag=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV - name: Bump version id: bump_version