Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
sanbo_xyz
Gephi
提交
22524f8f
G
Gephi
项目概览
sanbo_xyz
/
Gephi
10 个月 前同步成功
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gephi
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
22524f8f
编写于
1月 04, 2023
作者:
M
Mathieu Bastian
提交者:
GitHub
1月 04, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
2615 Codesign automation (#2718)
* Add codesign steps * Update configurations
上级
3604a235
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
57 addition
and
1 deletion
+57
-1
.github/workflows/release.yml
.github/workflows/release.yml
+18
-1
modules/application/pom.xml
modules/application/pom.xml
+27
-0
pom.xml
pom.xml
+11
-0
src/assemble/sources.xml
src/assemble/sources.xml
+1
-0
未找到文件。
.github/workflows/release.yml
浏览文件 @
22524f8f
...
...
@@ -129,6 +129,17 @@ jobs:
ENCRYPTION_SECRET
:
${{ secrets.ENCRYPTION_SECRET }}
KEY_PASSWORD
:
${{ secrets.KEY_PASSWORD }}
-
name
:
Windows Prepare Codesign
env
:
CODESIGN_CERT
:
${{ secrets.CODESIGN_CERT}}
run
:
|
New-Item -ItemType directory -Path certificate
Set-Content -Path codesign.txt -Value $env:CODESIGN_CERT
certutil -decode codesign.txt codesign.pfx
Remove-Item codesign.txt
working-directory
:
modules/application
if
:
runner.os == 'Windows'
-
name
:
Retrieve modules output
uses
:
actions/download-artifact@v3
with
:
...
...
@@ -155,7 +166,7 @@ jobs:
-
name
:
Build and publish bundle
shell
:
bash
run
:
mvn --batch-mode -Djava.awt.headless=true -Dgephi.apple.notarization.username=$APPLE_USERNAME -Dgephi.apple.notarization.password=$APPLE_PASSWORD -Dgephi.apple.notarization.teamId=$APPLE_TEAM_ID -Dgephi.bundle.arch=${{ matrix.arch }} -DstagingRepositoryId=${{ needs.build-base.outputs.staging-repository-id }} deploy -P deployment,sign-artifacts,${{ matrix.task }}
run
:
mvn --batch-mode -Djava.awt.headless=true -Dgephi.apple.notarization.username=$APPLE_USERNAME -Dgephi.apple.notarization.password=$APPLE_PASSWORD -Dgephi.apple.notarization.teamId=$APPLE_TEAM_ID -Dgephi.
windows.codesign.password=$CODESIGN_PASSWORD -Dgephi.
bundle.arch=${{ matrix.arch }} -DstagingRepositoryId=${{ needs.build-base.outputs.staging-repository-id }} deploy -P deployment,sign-artifacts,${{ matrix.task }}
working-directory
:
modules/application
env
:
OSSRH_USER
:
${{ secrets.OSSRH_USER }}
...
...
@@ -164,11 +175,17 @@ jobs:
APPLE_USERNAME
:
${{ secrets.APPLE_USERNAME }}
APPLE_PASSWORD
:
${{ secrets.APPLE_PASSWORD }}
APPLE_TEAM_ID
:
${{ secrets.APPLE_TEAM_ID }}
CODESIGN_PASSWORD
:
${{ secrets.CODESIGN_PASSWORD }}
-
name
:
CleanUp MacOS keychain
run
:
./.github/workflows/release/remove-key.sh
if
:
runner.os == 'macOS'
-
name
:
CleanUp Windows codesign
run
:
Remove-Item codesign.pfx
working-directory
:
modules/application
if
:
runner.os == 'Windows'
update-site
:
needs
:
bundle
runs-on
:
ubuntu-latest
...
...
modules/application/pom.xml
浏览文件 @
22524f8f
...
...
@@ -1063,6 +1063,33 @@
</execution>
</executions>
</plugin>
<!-- Sign the installer using the codesign certificate -->
<plugin>
<groupId>
net.jsign
</groupId>
<artifactId>
jsign-maven-plugin
</artifactId>
<executions>
<execution>
<id>
sign-exe
</id>
<goals>
<goal>
sign
</goal>
</goals>
<configuration>
<fileset>
<directory>
target
</directory>
<includes>
<include>
*.exe
</include>
</includes>
</fileset>
<name>
Gephi
</name>
<url>
https://gephi.org
</url>
<keystore>
${gephi.windows.codesign.keystore}
</keystore>
<storepass>
${gephi.windows.codesign.password}
</storepass>
<tsaurl>
http://timestamp.sectigo.com
</tsaurl>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
...
...
pom.xml
浏览文件 @
22524f8f
...
...
@@ -206,6 +206,10 @@
<gephi.apple.notarization.password/>
<gephi.apple.notarization.teamId/>
<gephi.apple.notarization.timeout>
10m
</gephi.apple.notarization.timeout>
<!-- Windows signing settings -->
<gephi.windows.codesign.keystore>
codesign.pfx
</gephi.windows.codesign.keystore>
<gephi.windows.codesign.password/>
<!--==== Dependency Versions ==================================================================================-->
...
...
@@ -263,6 +267,8 @@
<gephi.maven-checkstyle-plugin.version>
3.1.2
</gephi.maven-checkstyle-plugin.version>
<gephi.jsign.version>
4.2
</gephi.jsign.version>
<gephi.checkstyle.version>
9.3
</gephi.checkstyle.version>
</properties>
...
...
@@ -932,6 +938,11 @@
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>
net.jsign
</groupId>
<artifactId>
jsign-maven-plugin
</artifactId>
<version>
${gephi.jsign.version}
</version>
</plugin>
</plugins>
</pluginManagement>
...
...
src/assemble/sources.xml
浏览文件 @
22524f8f
...
...
@@ -15,6 +15,7 @@
<exclude>
**/*.log
</exclude>
<exclude>
**/*.asc
</exclude>
<exclude>
**/*.ks
</exclude>
<exclude>
**/*.pfx
</exclude>
<exclude>
**/.DS_Store
</exclude>
<exclude>
.github/**
</exclude>
</excludes>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录