cleanup-configs #560

Merged
saluu merged 3 commits from cleanup-configs into main 2025-02-22 20:58:41 +01:00
Showing only changes of commit 79723e278e - Show all commits

View file

@ -38,6 +38,7 @@ steps:
- <<: *enable_pnpm - <<: *enable_pnpm
- pnpm install --frozen-lockfile - pnpm install --frozen-lockfile
build: build:
depends_on: install
image: *node_image image: *node_image
environment: environment:
NODE_ENV: production NODE_ENV: production
@ -46,7 +47,7 @@ steps:
- <<: *enable_pnpm - <<: *enable_pnpm
- pnpm build - pnpm build
package: package:
group: prepare-release depends_on: build
image: alpine:latest image: alpine:latest
commands: commands:
- apk update - apk update
@ -54,32 +55,34 @@ steps:
- mv dist ${CI_REPO_NAME} - mv dist ${CI_REPO_NAME}
- zip -r ${CI_REPO_NAME}.zip ${CI_REPO_NAME}/* - zip -r ${CI_REPO_NAME}.zip ${CI_REPO_NAME}/*
changelog: changelog:
group: prepare-release depends_on: build
image: *node_image image: *node_image
commands: commands:
- <<: *enable_pnpm - <<: *enable_pnpm
- pnpm changelog - pnpm changelog
choose-latest-channel: choose-latest-channel:
group: prepare-release depends_on: build
image: alpine:latest image: alpine:latest
commands: commands:
- echo latest > .RELEASE_CHANNEL - echo latest > .RELEASE_CHANNEL
when: when:
<<: *is_latest_channel <<: *is_latest_channel
choose-beta-channel: choose-beta-channel:
group: prepare-release depends_on: build
image: alpine:latest image: alpine:latest
commands: commands:
- echo beta > .RELEASE_CHANNEL - echo beta > .RELEASE_CHANNEL
when: when:
<<: *is_beta_channel <<: *is_beta_channel
release-latest: release-latest:
depends_on: choose-latest-channel
image: *release_plugin image: *release_plugin
settings: settings:
<<: *release_base_settings <<: *release_base_settings
when: when:
<<: *is_latest_channel <<: *is_latest_channel
release-beta: release-beta:
depends_on: choose-beta-channel
image: *release_plugin image: *release_plugin
settings: settings:
<<: *release_base_settings <<: *release_base_settings
@ -87,7 +90,7 @@ steps:
when: when:
<<: *is_beta_channel <<: *is_beta_channel
publish-manifest: publish-manifest:
group: publish depends_on: [release-latest, release-beta]
image: alpine:latest image: alpine:latest
commands: commands:
- apk update - apk update
@ -98,7 +101,7 @@ steps:
secrets: secrets:
- forge_token - forge_token
publish-to-foundry-admin: publish-to-foundry-admin:
group: publish depends_on: [release-latest, release-beta]
image: johannesloher/foundry-publish:v4.0.0 image: johannesloher/foundry-publish:v4.0.0
commands: commands:
- export FVTT_MANIFEST_PATH=${CI_REPO_NAME}/system.json - export FVTT_MANIFEST_PATH=${CI_REPO_NAME}/system.json