Skip to content

Commit

Permalink
Merge pull request #4 from klts-io/feat/public-source
Browse files Browse the repository at this point in the history
Support public source
  • Loading branch information
pacoxu authored Jan 11, 2022
2 parents 55d693c + 94b1df4 commit aa07168
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/releases-source.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Releases Source

on:
push:
tags:
- v*

workflow_dispatch:

jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependent
run: |
make dependent
- name: Checkout
run: |
make $(basename ${GITHUB_REF})
- name: Release source
env:
SOURCE: https://github.com/klts-io/runc
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
make public-source
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,8 @@ pkg-rpm:
.PHONY: pkg-deb
pkg-deb:
./hack/pkg_deb.sh

.PHONY: public-source
public-source:
@echo Public Source
./hack/public_source.sh
7 changes: 7 additions & 0 deletions hack/public_source.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

set -o errexit
set -o nounset
set -o pipefail

kit/public_source.sh

0 comments on commit aa07168

Please sign in to comment.