From c01fafef3a5226f041727cc932cf2b9266bc7ec2 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Wed, 11 Oct 2023 16:41:45 +0100 Subject: [PATCH 1/2] Delete .github/workflows/check_unreleased_changes.yml --- .../workflows/check_unreleased_changes.yml | 29 ------------------- 1 file changed, 29 deletions(-) delete mode 100644 .github/workflows/check_unreleased_changes.yml diff --git a/.github/workflows/check_unreleased_changes.yml b/.github/workflows/check_unreleased_changes.yml deleted file mode 100644 index d558330545..0000000000 --- a/.github/workflows/check_unreleased_changes.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: check_unreleased_changes - -on: - pull_request: - branches: - - master - -jobs: - check_unreleased: - runs-on: ubuntu-latest - steps: - - name: Check for unreleased changes - env: - REPO: "Budibase/budibase" - TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - RELEASE_TIMESTAMP=$(curl -s -H "Authorization: token $TOKEN" \ - "https://api.github.com/repos/$REPO/releases/latest" | \ - jq -r .published_at) - COMMIT_TIMESTAMP=$(curl -s -H "Authorization: token $TOKEN" \ - "https://api.github.com/repos/$REPO/commits/master" | \ - jq -r .commit.committer.date) - RELEASE_SECONDS=$(date --date="$RELEASE_TIMESTAMP" "+%s") - COMMIT_SECONDS=$(date --date="$COMMIT_TIMESTAMP" "+%s") - if (( COMMIT_SECONDS > RELEASE_SECONDS )); then - echo "There are unreleased changes. Please release these changes before merging." - exit 1 - fi - echo "No unreleased changes detected." From c143b3eca822ddba027aa23f0182d393c003c030 Mon Sep 17 00:00:00 2001 From: Budibase Staging Release Bot <> Date: Wed, 11 Oct 2023 15:42:03 +0000 Subject: [PATCH 2/2] Bump version to 2.11.21 --- lerna.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lerna.json b/lerna.json index e65f5bb265..6e3bd1399c 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "2.11.20", + "version": "2.11.21", "npmClient": "yarn", "packages": [ "packages/*"