Merge branch 'main' into v2
* main: build: more resilient pushes to releases
This commit is contained in:
@@ -735,7 +735,7 @@ jobs:
|
|||||||
RCLONE_CONFIG_OBJSTORE_REGION: ${{ secrets.S3_REGION }}
|
RCLONE_CONFIG_OBJSTORE_REGION: ${{ secrets.S3_REGION }}
|
||||||
RCLONE_CONFIG_OBJSTORE_ACL: public-read
|
RCLONE_CONFIG_OBJSTORE_ACL: public-read
|
||||||
with:
|
with:
|
||||||
args: sync -v packages objstore:nightly
|
args: sync -v --no-update-modtime packages objstore:nightly
|
||||||
|
|
||||||
#
|
#
|
||||||
# Push release artifacts to Spaces
|
# Push release artifacts to Spaces
|
||||||
@@ -791,7 +791,7 @@ jobs:
|
|||||||
RCLONE_CONFIG_OBJSTORE_REGION: ${{ secrets.S3_REGION }}
|
RCLONE_CONFIG_OBJSTORE_REGION: ${{ secrets.S3_REGION }}
|
||||||
RCLONE_CONFIG_OBJSTORE_ACL: public-read
|
RCLONE_CONFIG_OBJSTORE_ACL: public-read
|
||||||
with:
|
with:
|
||||||
args: sync -v packages objstore:release/${{ env.VERSION }}
|
args: sync -v --no-update-modtime packages objstore:release/${{ env.VERSION }}
|
||||||
|
|
||||||
- name: Push to object store (latest)
|
- name: Push to object store (latest)
|
||||||
uses: docker://docker.io/rclone/rclone:latest
|
uses: docker://docker.io/rclone/rclone:latest
|
||||||
@@ -804,7 +804,7 @@ jobs:
|
|||||||
RCLONE_CONFIG_OBJSTORE_REGION: ${{ secrets.S3_REGION }}
|
RCLONE_CONFIG_OBJSTORE_REGION: ${{ secrets.S3_REGION }}
|
||||||
RCLONE_CONFIG_OBJSTORE_ACL: public-read
|
RCLONE_CONFIG_OBJSTORE_ACL: public-read
|
||||||
with:
|
with:
|
||||||
args: sync -v objstore:release/${{ env.VERSION }} objstore:release/latest
|
args: sync -v --no-update-modtime objstore:release/${{ env.VERSION }} objstore:release/latest
|
||||||
|
|
||||||
- name: Create GitHub releases and push binaries
|
- name: Create GitHub releases and push binaries
|
||||||
run: |
|
run: |
|
||||||
@@ -819,7 +819,7 @@ jobs:
|
|||||||
--title "$VERSION" \
|
--title "$VERSION" \
|
||||||
--notes-from-tag
|
--notes-from-tag
|
||||||
fi
|
fi
|
||||||
gh release upload "$VERSION" \
|
gh release upload --clobber "$VERSION" \
|
||||||
packages/*.asc packages/*.json \
|
packages/*.asc packages/*.json \
|
||||||
packages/syncthing-*.tar.gz \
|
packages/syncthing-*.tar.gz \
|
||||||
packages/syncthing-*.zip \
|
packages/syncthing-*.zip \
|
||||||
@@ -835,7 +835,7 @@ jobs:
|
|||||||
--title "$VERSION" \
|
--title "$VERSION" \
|
||||||
--notes "https://github.com/syncthing/syncthing/releases/tag/$VERSION"
|
--notes "https://github.com/syncthing/syncthing/releases/tag/$VERSION"
|
||||||
fi
|
fi
|
||||||
gh release upload "$VERSION" \
|
gh release upload --clobber "$VERSION" \
|
||||||
$PKGS/*.asc \
|
$PKGS/*.asc \
|
||||||
$PKGS/*${repo}*
|
$PKGS/*${repo}*
|
||||||
done
|
done
|
||||||
@@ -918,7 +918,7 @@ jobs:
|
|||||||
RCLONE_CONFIG_OBJSTORE_REGION: ${{ secrets.S3_REGION }}
|
RCLONE_CONFIG_OBJSTORE_REGION: ${{ secrets.S3_REGION }}
|
||||||
RCLONE_CONFIG_OBJSTORE_ACL: public-read
|
RCLONE_CONFIG_OBJSTORE_ACL: public-read
|
||||||
with:
|
with:
|
||||||
args: sync -v dists objstore:apt/dists
|
args: sync -v --no-update-modtime dists objstore:apt/dists
|
||||||
|
|
||||||
#
|
#
|
||||||
# Build and push (except for PRs) to GHCR.
|
# Build and push (except for PRs) to GHCR.
|
||||||
|
|||||||
Reference in New Issue
Block a user