diff --git a/.github/workflows/check-release.yml b/.github/workflows/check-release.yml index 23dc586..374b983 100644 --- a/.github/workflows/check-release.yml +++ b/.github/workflows/check-release.yml @@ -55,7 +55,7 @@ jobs: - name: Checkout code uses: actions/checkout@v4 with: - ref: ${{ github.ref }} + ref: "master" - name: Remove leading 'v' from version numbers run: | @@ -80,4 +80,16 @@ jobs: git config --local user.name "github-actions[bot]" git commit -a -m "Bump firebase-tools to ${{ needs.check-releases.outputs.firebase-tools-release }}" git tag -a ${{ needs.check-releases.outputs.firebase-tools-release }} -m "Bump firebase-tools to ${{ needs.check-releases.outputs.firebase-tools-release }}" - git push origin HEAD:${{ github.ref }} --tags + git push origin HEAD:master --tags + + - name: Create Release + id: create_release + uses: comnoco/create-release-action@v2.0.5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token + with: + tag_name: ${{ needs.check-releases.outputs.firebase-tools-release }} + release_name: firebase-tools ${{ needs.check-releases.outputs.firebase-tools-release }} + body: "Bump `firebase-tools` to ${{ needs.check-releases.outputs.firebase-tools-release }}" + draft: false + prerelease: false diff --git a/Dockerfile b/Dockerfile index 37be66c..7740ca8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM node:16.16.0-buster -LABEL version="12.9.0" +LABEL version="12.9.1" LABEL repository="https://github.com/w9jds/firebase-action" LABEL homepage="https://github.com/w9jds/firebase-action" LABEL maintainer="Jeremy Shore " @@ -13,7 +13,7 @@ LABEL com.github.actions.color="gray-dark" RUN apt update && apt-get install --no-install-recommends -y jq openjdk-11-jre && rm -rf /var/lib/apt/lists/*; RUN npm i -g npm@8.10.0 && npm cache clean --force; -RUN npm i -g firebase-tools@12.9.0 && npm cache clean --force; +RUN npm i -g firebase-tools@12.9.1 && npm cache clean --force; COPY LICENSE README.md / COPY "entrypoint.sh" "/entrypoint.sh" diff --git a/action.yaml b/action.yaml index 3f25038..e551072 100644 --- a/action.yaml +++ b/action.yaml @@ -12,4 +12,4 @@ outputs: runs: using: "docker" - image: "docker://w9jds/firebase-action:v12.9.0" + image: "docker://w9jds/firebase-action:v12.9.1"