Compare commits

..

No commits in common. "main" and "v2.7.0" have entirely different histories.
main ... v2.7.0

6 changed files with 10 additions and 10 deletions

View file

@ -6,7 +6,7 @@ jobs:
- uses: actions/checkout@v4
- id: forgejo
uses: https://code.forgejo.org/actions/setup-forgejo@v3.0.3
uses: https://code.forgejo.org/actions/setup-forgejo@v3.0.1
with:
user: testuser
password: admin1234

View file

@ -1,6 +1,6 @@
on: [ pull_request, push ]
jobs:
tests:
integration:
runs-on: docker
steps:
- uses: actions/checkout@v4
@ -9,4 +9,4 @@ jobs:
run: |
testdata/forgejo-release-test.sh test_system_tea_bin
testdata/forgejo-release-test.sh test_download_tea_bin
testdata/forgejo-release-test.sh test_maybe_sign_release
testdata/forgejo-release-test.sh test_maybe_sign_release

View file

@ -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

View file

@ -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 }}"

View file

@ -13,13 +13,13 @@ if ${VERBOSE:-false}; then set -x; fi
: ${TMP_DIR:=$(mktemp -d)}
: ${GNUPGHOME:=$TMP_DIR}
: ${TEA_BIN:=$TMP_DIR/tea}
: ${TEA_VERSION:=0.10.1}
: ${TEA_VERSION:=0.9.0}
: ${OVERRIDE:=false}
: ${HIDE_ARCHIVE_LINK:=false}
: ${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
}

View file

@ -12,7 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- id: forgejo
uses: https://code.forgejo.org/actions/setup-forgejo@v3.0.3
uses: https://code.forgejo.org/actions/setup-forgejo@v3.0.1
with:
user: testuser
password: admin1234