diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml new file mode 100644 index 0000000..868d739 --- /dev/null +++ b/.github/workflows/main.yaml @@ -0,0 +1,41 @@ +name: "On Merge to main branch: release new version" + +concurrency: + group: main-release-${{ github.ref }} + cancel-in-progress: true + +on: + workflow_dispatch: + push: + branches: + - main + +jobs: + release: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Get Latest Tag + id: latest-tag + run: echo "tag=$(git tag -l | sort -V | tail -1 | sed 's/-dev$//')" >> "$GITHUB_OUTPUT" + + - name: Generate New Bumped Version + uses: actions-ecosystem/action-bump-semver@v1 + id: bump-semver + with: + current_version: ${{ steps.latest-tag.outputs.tag }} + level: patch + + - name: Create Release Notes + id: create-release + run: | + curl -f -X POST \ + -H "Accept: application/vnd.github.v3+json" \ + -H "authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ + -H "X-GitHub-Api-Version: 2022-11-28" \ + https://api.github.com/repos/${{ github.repository }}/releases \ + -d '{"tag_name":"${{ steps.bump-semver.outputs.new_version }}", "generate_release_notes":true}' \ No newline at end of file diff --git a/.github/workflows/readme.md b/.github/workflows/readme.md deleted file mode 100644 index e69de29..0000000 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..294b520 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,20 @@ +name: "On Merge to release branch: compile and publish" + +concurrency: + group: release-${{ github.ref }} + cancel-in-progress: true + +on: + workflow_dispatch: + push: + branches: + - release + +jobs: + release: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 \ No newline at end of file diff --git a/core/code-of-conduct.md b/core/code-of-conduct.md new file mode 100644 index 0000000..387fd03 --- /dev/null +++ b/core/code-of-conduct.md @@ -0,0 +1,4 @@ +# Code of Conduct + + +sadf diff --git a/core/introduction.md b/core/introduction.md new file mode 100644 index 0000000..e10b99d --- /dev/null +++ b/core/introduction.md @@ -0,0 +1 @@ +# Introduction diff --git a/core/readme.md b/core/readme.md index 054a0fb..65c569b 100644 --- a/core/readme.md +++ b/core/readme.md @@ -1,6 +1 @@ ---- -noteId: "d3c311e0e6e511ee972edf2431f1c3fd" -tags: [] - ---- - +# Core Community Values and Assets diff --git a/guidelines/collaboration/readme.md b/guidelines/collaboration/readme.md index cf19ff1..1f9a2c5 100644 --- a/guidelines/collaboration/readme.md +++ b/guidelines/collaboration/readme.md @@ -1,6 +1 @@ ---- -noteId: "eb819700e6e211ee972edf2431f1c3fd" -tags: [] - ---- - +# Collaboration Guidelines \ No newline at end of file diff --git a/guidelines/sharing/readme.md b/guidelines/sharing/readme.md index 5a1de5a..a41c99a 100644 --- a/guidelines/sharing/readme.md +++ b/guidelines/sharing/readme.md @@ -1,6 +1 @@ ---- -noteId: "eb819701e6e211ee972edf2431f1c3fd" -tags: [] - ---- - +# Sharing Guidelines \ No newline at end of file diff --git a/resources/readme.md b/resources/readme.md new file mode 100644 index 0000000..54fed86 --- /dev/null +++ b/resources/readme.md @@ -0,0 +1 @@ +# Resources \ No newline at end of file diff --git a/testimony/readme.md b/testimony/readme.md new file mode 100644 index 0000000..b1b0a28 --- /dev/null +++ b/testimony/readme.md @@ -0,0 +1 @@ +# Success Story Of Lombok Dev Member