mirror of
https://code.forgejo.org/actions/forgejo-release
synced 2025-09-05 14:02:45 +02:00
Compare commits
No commits in common. "main" and "v2.7.0" have entirely different histories.
5 changed files with 7 additions and 7 deletions
|
@ -6,7 +6,7 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
|
||||
- id: forgejo
|
||||
uses: https://code.forgejo.org/actions/setup-forgejo@v3.0.2
|
||||
uses: https://code.forgejo.org/actions/setup-forgejo@v3.0.1
|
||||
with:
|
||||
user: testuser
|
||||
password: admin1234
|
||||
|
|
|
@ -42,7 +42,7 @@ jobs:
|
|||
runs-on: docker
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/forgejo-release@v2.7.2
|
||||
- uses: actions/forgejo-release@v2.6.1
|
||||
with:
|
||||
direction: upload
|
||||
url: https://my-forgejo-instance.net
|
||||
|
@ -63,7 +63,7 @@ jobs:
|
|||
runs-on: docker
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/forgejo-release@v2.7.2
|
||||
- uses: actions/forgejo-release@v2.6.1
|
||||
with:
|
||||
direction: download
|
||||
url: https://my-forgejo-instance.net
|
||||
|
|
|
@ -88,7 +88,7 @@ runs:
|
|||
|
||||
export HIDE_ARCHIVE_LINK="${{ inputs.hide-archive-link }}"
|
||||
|
||||
export TOKEN=${{ inputs.token }}
|
||||
export TOKEN="${{ inputs.token }}"
|
||||
|
||||
export RELEASE_DIR="${{ inputs.release-dir }}"
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ if ${VERBOSE:-false}; then set -x; fi
|
|||
: ${RETRY:=1}
|
||||
: ${DELAY:=10}
|
||||
|
||||
RELEASE_NOTES_ASSISTANT_VERSION=v1.4.0 # renovate: datasource=forgejo-releases depName=forgejo/release-notes-assistant registryUrl=https://code.forgejo.org
|
||||
RELEASE_NOTES_ASSISTANT_VERSION=v1.3.5 # renovate: datasource=forgejo-releases depName=forgejo/release-notes-assistant registryUrl=https://code.forgejo.org
|
||||
|
||||
TAG_FILE="$TMP_DIR/tag$$.json"
|
||||
TAG_URL=$(echo "$TAG" | sed 's/\//%2F/g')
|
||||
|
@ -121,7 +121,7 @@ maybe_use_release_note_assistant() {
|
|||
curl --fail -s -S -o rna https://code.forgejo.org/forgejo/release-notes-assistant/releases/download/$RELEASE_NOTES_ASSISTANT_VERSION/release-notes-assistant
|
||||
chmod +x ./rna
|
||||
mkdir -p $RELEASE_NOTES_ASSISTANT_WORKDIR
|
||||
./rna --workdir=$RELEASE_NOTES_ASSISTANT_WORKDIR --storage release --storage-location "$TAG" --token "$TOKEN" --forgejo-url "$SCHEME://$HOST" --repository $REPO --token "$TOKEN" release "$TAG"
|
||||
./rna --workdir=$RELEASE_NOTES_ASSISTANT_WORKDIR --storage release --storage-location "$TAG" --forgejo-url "$SCHEME"://placeholder:"$TOKEN"@"$HOST" --repository $REPO --token "$TOKEN" release "$TAG"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- id: forgejo
|
||||
uses: https://code.forgejo.org/actions/setup-forgejo@v3.0.2
|
||||
uses: https://code.forgejo.org/actions/setup-forgejo@v3.0.1
|
||||
with:
|
||||
user: testuser
|
||||
password: admin1234
|
||||
|
|
Loading…
Add table
Reference in a new issue