feat: add changelog to released files
arcad/emissary/pipeline/head There was a failure building this commit
Details
arcad/emissary/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
9326bac792
commit
1eb3de4f16
|
@ -63,10 +63,7 @@ pipeline {
|
||||||
make gitea-release
|
make gitea-release
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
def currentVersion = sh(returnStdout: true, script: 'make full-version').trim()
|
|
||||||
if (currentVersion.endsWith('-dirty')) {
|
|
||||||
unstable('Could not trigger emissary-firmware build, dirty version !')
|
|
||||||
} else {
|
|
||||||
build(
|
build(
|
||||||
job: "../emissary-firmware/${env.GIT_BRANCH}",
|
job: "../emissary-firmware/${env.GIT_BRANCH}",
|
||||||
parameters: [
|
parameters: [
|
||||||
|
@ -78,7 +75,6 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
|
|
3
Makefile
3
Makefile
|
@ -97,13 +97,14 @@ deploy-openwrt-agent:
|
||||||
scp dist/emissary-agent_linux_arm_6/emissary root@$(OPENWRT_DEVICE):/usr/bin/emissary
|
scp dist/emissary-agent_linux_arm_6/emissary root@$(OPENWRT_DEVICE):/usr/bin/emissary
|
||||||
ssh root@$(OPENWRT_DEVICE) /etc/init.d/emissary-agent start
|
ssh root@$(OPENWRT_DEVICE) /etc/init.d/emissary-agent start
|
||||||
|
|
||||||
gitea-release: .mktools tools/gitea-release/bin/gitea-release.sh goreleaser
|
gitea-release: .mktools tools/gitea-release/bin/gitea-release.sh goreleaser changelog
|
||||||
mkdir -p .gitea-release
|
mkdir -p .gitea-release
|
||||||
rm -rf .gitea-release/*
|
rm -rf .gitea-release/*
|
||||||
|
|
||||||
cp dist/*.tar.gz .gitea-release/
|
cp dist/*.tar.gz .gitea-release/
|
||||||
cp dist/*.apk .gitea-release/
|
cp dist/*.apk .gitea-release/
|
||||||
cp dist/*.deb .gitea-release/
|
cp dist/*.deb .gitea-release/
|
||||||
|
cp CHANGELOG.md .gitea-release/
|
||||||
|
|
||||||
GITEA_RELEASE_PROJECT="emissary" \
|
GITEA_RELEASE_PROJECT="emissary" \
|
||||||
GITEA_RELEASE_ORG="arcad" \
|
GITEA_RELEASE_ORG="arcad" \
|
||||||
|
|
Loading…
Reference in New Issue