diff --git a/.github/workflows/build-push-fe-docker-hub.yaml b/.github/workflows/build-push-fe-docker-hub.yaml index 82fdf2240..6b2a8feca 100644 --- a/.github/workflows/build-push-fe-docker-hub.yaml +++ b/.github/workflows/build-push-fe-docker-hub.yaml @@ -48,25 +48,6 @@ jobs: working-directory: ./ run: npm install - - name: Fetch tags - run: git fetch --tags - - - name: Determine next version - id: determine_version - run: | - # Check if any tags exist - if git tag -l | grep -q '^v'; then - # Get the latest tag - LATEST_TAG=$(git describe --tags --abbrev=0) - else - # If no tags, set the initial tag - LATEST_TAG='v0.0.0' - fi - - # Run semantic-release to get the next version - NEXT_VERSION=$(npx semantic-release --dry-run | grep 'Next version' | awk '{print $NF}') - echo "NEXT_VERSION=${NEXT_VERSION}" >> $GITHUB_ENV - - name: Run semantic-release working-directory: ./ env: