From cb6a51fc272abc722f3c52b6dd59acc087bf224f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9B=BE=E6=96=87=E8=B1=AA?= <980287353@qq.com>
Date: Sun, 28 Sep 2025 13:26:42 +0800
Subject: [PATCH] publish 2.0.9
---
.gitea/workflows/mvn-deploy.yaml | 25 +++++++++++++++
pom.xml | 9 +++++-
qodana.yaml | 31 -------------------
.../tiesheng/util/config/Ip2regionConfig.java | 2 +-
4 files changed, 34 insertions(+), 33 deletions(-)
create mode 100644 .gitea/workflows/mvn-deploy.yaml
delete mode 100644 qodana.yaml
diff --git a/.gitea/workflows/mvn-deploy.yaml b/.gitea/workflows/mvn-deploy.yaml
new file mode 100644
index 0000000..010d419
--- /dev/null
+++ b/.gitea/workflows/mvn-deploy.yaml
@@ -0,0 +1,25 @@
+## 工作流触发时机
+on:
+ push:
+ tags:
+ - '*'
+
+jobs:
+
+ ## 任务名称
+ local-deploy:
+
+ ## 任务执行的服务器
+ runs-on: tiesheng-local
+
+ ## 任务步骤
+ steps:
+
+ ## 检出代码(固定配置)
+ - name: Check out repository code
+ uses: https://git.tieshengkeji.com/actions/checkout@v4
+
+ ## maven打包
+ - name: Maven deploy
+ run: |
+ mvn deploy
diff --git a/pom.xml b/pom.xml
index 5413255..40f1ebb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -121,10 +121,17 @@
kepai-repo-plugin
- http://git.kepai365.com/tiesheng/repository/raw/master
+ https://git.tieshengkeji.com/api/packages/tieshengkeji/maven
+
+
+ gitea
+ https://git.tieshengkeji.com/api/packages/tieshengkeji/maven
+
+
+
diff --git a/qodana.yaml b/qodana.yaml
deleted file mode 100644
index 08a316b..0000000
--- a/qodana.yaml
+++ /dev/null
@@ -1,31 +0,0 @@
-#-------------------------------------------------------------------------------#
-# Qodana analysis is configured by qodana.yaml file #
-# https://www.jetbrains.com/help/qodana/qodana-yaml.html #
-#-------------------------------------------------------------------------------#
-version: "1.0"
-
-#Specify inspection profile for code analysis
-profile:
- name: qodana.starter
-
-#Enable inspections
-#include:
-# - name:
-
-#Disable inspections
-#exclude:
-# - name:
-# paths:
-# -
-
-projectJDK: 17 #(Applied in CI/CD pipeline)
-
-#Execute shell command before Qodana execution (Applied in CI/CD pipeline)
-#bootstrap: sh ./prepare-qodana.sh
-
-#Install IDE plugins before Qodana execution (Applied in CI/CD pipeline)
-#plugins:
-# - id: #(plugin id can be found at https://plugins.jetbrains.com)
-
-#Specify Qodana linter for analysis (Applied in CI/CD pipeline)
-linter: jetbrains/qodana-jvm:latest
diff --git a/springboot-util/src/main/java/com/tiesheng/util/config/Ip2regionConfig.java b/springboot-util/src/main/java/com/tiesheng/util/config/Ip2regionConfig.java
index 2fee9bc..783c5e7 100644
--- a/springboot-util/src/main/java/com/tiesheng/util/config/Ip2regionConfig.java
+++ b/springboot-util/src/main/java/com/tiesheng/util/config/Ip2regionConfig.java
@@ -16,7 +16,7 @@ import javax.annotation.PostConstruct;
@ConfigurationProperties(prefix = "tiesheng.ip2region")
public class Ip2regionConfig {
- private String dbUrl = "http://git.kepai365.com/tiesheng/repository/raw/master/ipdb/ip2region.xdb";
+ private String dbUrl = "https://git.tieshengkeji.com/tieshengkeji/Ip2region/raw/branch/main/ip2region.xdb";
private String dbPath = System.getProperty("user.dir") + "/runtime/ip2region/ip2region.xdb";
///////////////////////////////////////////////////////////////////////////