Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/clojure-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- 'clojure/**'
- '.github/workflows/clojure-integration-tests.yml'
push:
branches: [master, main, citus-v3, v4-clojure-rewrite]
branches: [main, citus-v3, v4-clojure-rewrite]
paths:
- 'clojure/**'
- '.github/workflows/clojure-integration-tests.yml'
Expand Down Expand Up @@ -341,6 +341,16 @@ jobs:
echo "version=${VERSION}" >> "$GITHUB_OUTPUT"
echo "sha=${SHA}" >> "$GITHUB_OUTPUT"

- name: Delete previous versioned JAR assets
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release view v4-dev --repo ${{ github.repository }} --json assets \
--jq '.assets[].name' 2>/dev/null \
| grep -E '^pgloader-[0-9]' \
| xargs -r -I{} gh release delete-asset v4-dev {} \
--repo ${{ github.repository }} --yes || true

- name: Update v4-dev release
uses: softprops/action-gh-release@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ name: Docker

on:
push:
branches: [ master ]
branches: [ main ]
# Publish semver tags as releases.
tags: [ 'v*.*.*' ]
pull_request:
branches: [ master ]
branches: [ main ]

env:
# Use docker.io for Docker Hub if empty
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ $(BUNDLE): $(BUNDLEDIR) $(BUNDLEDIR)/version.sexp
cp bundle/README.md $(BUNDLEDIR)
cp bundle/save.lisp $(BUNDLEDIR)
sed -e s/%VERSION%/$(VERSION)/ < bundle/Makefile > $(BUNDLEDIR)/Makefile
git archive --format=tar --prefix=pgloader-$(VERSION)/ master \
git archive --format=tar --prefix=pgloader-$(VERSION)/ main \
| tar -C $(BUNDLEDIR)/local-projects/ -xf -
make QLDIR=$(BUNDLEDIR) clones
tar -C build/bundle \
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ On the fly data transformation
some tweaking and clean-up before being sent to PostgreSQL.

For instance in the `geolite
<https://github.com/dimitri/pgloader/blob/master/test/archive.load>`_
<https://github.com/dimitri/pgloader/blob/main/test/archive.load>`_
example we can see that integer values are being rewritten as IP address
ranges, allowing to target an ``ip4r`` column directly.

Expand Down
2 changes: 1 addition & 1 deletion docs/ref/pgsql-citus-target.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ to the tables that have a direct or indirect foreign key reference to the

We run pgloader using the following command, where the file
`./test/citus/company.load
<https://github.com/dimitri/pgloader/blob/master/test/citus/company.load>`_
<https://github.com/dimitri/pgloader/blob/main/test/citus/company.load>`_
contains the pgloader command as shown above.

::
Expand Down
Loading