Skip to content

Commit b84ec43

Browse files
authored
Merge pull request #14834 from JudeRV/7.0.x
#14316 Use local repo commands instead of the github api for Release Drop Down population
2 parents 44a0492 + ca77a54 commit b84ec43

File tree

13 files changed

+326
-632
lines changed

13 files changed

+326
-632
lines changed

.github/workflows/gradle.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ on:
2424
- '[4-9]+.[0-9]+.x'
2525
- '[3-9]+.[3-9]+.x'
2626
workflow_dispatch:
27-
env:
28-
# To prevent throttling of GitHub API usage, include the GitHub token as an environment variable
29-
# as the build will use it when fetching git tags in CreateReleaseDropDown.groovy
30-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3127
# queue jobs and only allow 1 run per branch due to the likelihood of hitting GitHub resource limits
3228
concurrency:
3329
group: ${{ github.workflow }}-${{ github.ref }}
@@ -393,6 +389,8 @@ jobs:
393389
run: curl -s https://api.ipify.org
394390
- name: "📥 Checkout the repository"
395391
uses: actions/checkout@v4
392+
with:
393+
fetch-tags: true
396394
- name: "🔀 Store current branch name"
397395
run: |
398396
TARGET_BRANCH="${GITHUB_BASE_REF:-${GITHUB_REF#refs/heads/}}"

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242
echo "repository_name=${GITHUB_REPOSITORY##*/}" >> $GITHUB_OUTPUT
4343
- name: "📥 Checkout repository"
4444
uses: actions/checkout@v4
45+
with:
46+
fetch-tags: true
4547
- name: 'Ensure Common Build Date' # to ensure a reproducible build
4648
run: echo "SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)" >> "$GITHUB_ENV"
4749
- name: "Ensure source files use common date"
@@ -487,6 +489,7 @@ jobs:
487489
- name: "📥 Checkout repository"
488490
uses: actions/checkout@v4
489491
with:
492+
fetch-tags: true
490493
token: ${{ secrets.GITHUB_TOKEN }}
491494
ref: v${{ needs.publish.outputs.release_version }}
492495
- name: 'Ensure Common Build Date' # to ensure a reproducible build

RENAME.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ Below is a reference of all migrated artifacts - both their old and new name.
170170
| GRADLE | | | | | | |
171171
| org.grails | grails-gradle-plugin | org.apache.grails | grails-gradle-plugins | | | grails-gradle-plugin |
172172
| org.grails.grails-core | org.grails.grails-core.gradle.plugin | org.apache.grails.gradle.grails-app | org.apache.grails.gradle.grails-app.gradle.plugin | grails | grails-app | grails-gradle-plugin |
173-
| org.grails.grails-doc | org.grails.grails-doc.gradle.plugin | org.apache.grails.gradle.grails-docs | org.apache.grails.gradle.grails-docs.gradle.plugin | grails-doc | grails-docs | grails-gradle-plugin |
174173
| org.grails.grails-gsp | org.grails.grails-gsp.gradle.plugin | org.apache.grails.gradle.grails-gsp | org.apache.grails.gradle.grails-gsp.gradle.plugin | grails-gsp | grails-gsp | grails-gradle-plugin |
175174
| org.grails.grails-plugin | org.grails.grails-plugin.gradle.plugin | org.apache.grails.gradle.grails-plugin | org.apache.grails.gradle.grails-plugin.gradle.plugin | grails-plugin | grails-plugin | grails-gradle-plugin |
176175
| org.grails.grails-profile | org.grails.grails-profile.gradle.plugin | org.apache.grails.gradle.grails-profile | org.apache.grails.gradle.grails-profile.gradle.plugin | grails-profile | grails-profile | grails-gradle-plugin |

buildSrc/src/main/groovy/grails/doc/AddReleaseDropDown.groovy

Lines changed: 0 additions & 227 deletions
This file was deleted.

0 commit comments

Comments
 (0)