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,18 +63,14 @@ pipeline {
|
||||||
make gitea-release
|
make gitea-release
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
def currentVersion = sh(returnStdout: true, script: 'make full-version').trim()
|
|
||||||
if (currentVersion.endsWith('-dirty')) {
|
build(
|
||||||
unstable('Could not trigger emissary-firmware build, dirty version !')
|
job: "../emissary-firmware/${env.GIT_BRANCH}",
|
||||||
} else {
|
parameters: [
|
||||||
build(
|
[$class: 'StringParameterValue', name: 'emissaryRelease', value: currentVersion]
|
||||||
job: "../emissary-firmware/${env.GIT_BRANCH}",
|
],
|
||||||
parameters: [
|
wait: false
|
||||||
[$class: 'StringParameterValue', name: 'emissaryRelease', value: currentVersion]
|
)
|
||||||
],
|
|
||||||
wait: false
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
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