diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 17bde73..75d7a7b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,14 +8,10 @@ jobs: - name: Checkout repo content uses: actions/checkout@v3 - - name: Fetch last tag - id: fetch-tag - run: echo "::set-output name=TAG::$(git describe --tags --abbrev=0)" - - name: Determine next edition id: determine-edition run: | - echo "::set-output name=EDITION::$(( ${TAG} + 1 ))" + echo "::set-output name=EDITION:$(($(git describe --tags --abbrev=0) +1))" - name: Check if edition exists id: check-edition