Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: directus 11.1.2 compatibility #114

Merged
merged 7 commits into from
Nov 1, 2024
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
2 changes: 1 addition & 1 deletion DOCUMENTATION.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Directus Sync

![Directus 11.1.1](https://img.shields.io/badge/Directus-11.1.1-64f?style=for-the-badge&logo=directus)
![Directus 11.1.2](https://img.shields.io/badge/Directus-11.1.2-64f?style=for-the-badge&logo=directus)

> [!IMPORTANT]
> Latest version of `directus-sync` introduces breaking changes and is not compatible with Directus 10.x.x.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Directus Sync

![Directus 11.1.1](https://img.shields.io/badge/Directus-11.1.1-64f?style=for-the-badge&logo=directus)
![Directus 11.1.2](https://img.shields.io/badge/Directus-11.1.2-64f?style=for-the-badge&logo=directus)
[![Donate](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/Directus-Sync/donate)
[![Discord](https://img.shields.io/badge/Discord-Join-5865F2?style=for-the-badge&logo=discord)](https://discord.gg/4vGzHPQmud)

Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG DIRECTUS_VERSION=latest

FROM node:20-alpine as extensions
FROM node:20-alpine AS extensions
WORKDIR /extensions
RUN npm install directus-extension-sync

Expand Down
49 changes: 5 additions & 44 deletions docker/build-and-push.mjs
Original file line number Diff line number Diff line change
@@ -1,51 +1,12 @@
#!/usr/bin/env zx

const latestDirectusVersion = '11.1.2';
const [major, minor, patch] = latestDirectusVersion.split('.');
const directusVersions = [
'latest',

// '10',

// '10.9',
// '10.9.0',
// '10.9.1',
// '10.9.2',
// '10.9.3',

// '10.10',
// '10.10.0',
// '10.10.1',
// '10.10.2',
// '10.10.3',
// '10.10.4',
// '10.10.5',
// '10.10.6',
// '10.10.7',

// '10.11',
// '10.11.0',
// '10.11.1',
// '10.11.2',

// '10.12',
// '10.12.0',
// '10.12.1',

// '10.13',
// '10.13.0',
// '10.13.1',
// '10.13.2',
// '10.13.3',

'11',

// '11.0',
// '11.0.0',
// '11.0.1',
// '11.0.2',

'11.1',
// '11.1.0',
// '11.1.1',
`${major}`,
`${major}.${minor}`,
`${major}.${minor}.${patch}`,
];

const platforms = ['linux/amd64', 'linux/arm64'];
Expand Down
Loading
Loading