From 9f8e1c29ceefcba7c1b32a17b54c2fa35ddcac6c Mon Sep 17 00:00:00 2001 From: setop Date: Thu, 26 Sep 2024 21:01:46 +0200 Subject: [PATCH] chore(build): skip e2e when building package ; fix app version --- .gitlab-ci.yml | 18 ++---------------- mix.exs | 2 +- package-lock.json | 4 ++-- package.json | 2 +- test/fixtures/nodeinfo/data.json | 2 +- 5 files changed, 7 insertions(+), 21 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1883f8ef0..797504dec 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,7 +4,6 @@ stages: - install - check - build-js - - sentry - test - build - upload @@ -93,21 +92,6 @@ build-frontend: needs: - lint-front -sentry-commit: - stage: sentry - image: getsentry/sentry-cli - script: - - echo "Create a new release $CI_COMMIT_TAG" - - sentry-cli releases new $CI_COMMIT_TAG - - sentry-cli releases set-commits $CI_COMMIT_TAG --auto - - sentry-cli releases files $CI_COMMIT_TAG upload-sourcemaps priv/static/assets/ - - sentry-cli releases finalize $CI_COMMIT_TAG - - echo "Finalized release for $CI_COMMIT_TAG" - needs: - - build-frontend - only: - - tags@framasoft/mobilizon - deps: stage: check before_script: @@ -162,6 +146,8 @@ vitest: e2e: stage: test + except: + - tags@framasoft/mobilizon services: - name: postgis/postgis:16-3.4 alias: postgres diff --git a/mix.exs b/mix.exs index 8c413b104..b9a02a965 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule Mobilizon.Mixfile do use Mix.Project - @version "5.0.0-beta.1" + @version "5.0.1" def project do [ diff --git a/package-lock.json b/package-lock.json index 47e154224..495ab93c7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mobilizon", - "version": "5.0.0-beta.1", + "version": "5.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "mobilizon", - "version": "5.0.0-beta.1", + "version": "5.0.1", "hasInstallScript": true, "dependencies": { "@apollo/client": "^3.3.16", diff --git a/package.json b/package.json index d8eb571b7..b9dedb6c4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mobilizon", - "version": "5.0.0-beta.1", + "version": "5.0.1", "private": true, "scripts": { "dev": "vite", diff --git a/test/fixtures/nodeinfo/data.json b/test/fixtures/nodeinfo/data.json index 34cad60db..54891c38f 100644 --- a/test/fixtures/nodeinfo/data.json +++ b/test/fixtures/nodeinfo/data.json @@ -22,7 +22,7 @@ }, "software": { "name": "Mobilizon", - "version": "5.0.0-beta.1", + "version": "5.0.1", "repository": "https://framagit.org/framasoft/mobilizon" }, "openRegistrations": true