Skip to content

Commit 91142b1

Browse files
committed
Create GitHub releases
1 parent d6f0381 commit 91142b1

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.circleci/config.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,15 @@ jobs:
2222
destination: mod_sdk.zip
2323
- store_artifacts:
2424
path: sdk/lib/libserver_modloader.so
25-
destination: libserver_modloader.so
25+
destination: libserver_modloader.so
26+
publish-github-release:
27+
docker:
28+
- image: cibuilds/github:0.10
29+
steps:
30+
- attach_workspace:
31+
at: ./artifacts
32+
- run:
33+
name: Publish GitHub release
34+
command: |
35+
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} \
36+
-delete "Continous Build" ./artifacts/

0 commit comments

Comments
 (0)