Skip to content

Commit

Permalink
Merge pull request #1 from LombokDev/dev
Browse files Browse the repository at this point in the history
Merge to main from dev
  • Loading branch information
nunenuh authored Mar 20, 2024
2 parents 8a3ddb4 + 80d0cb6 commit dd020aa
Show file tree
Hide file tree
Showing 10 changed files with 71 additions and 18 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -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}'
Empty file removed .github/workflows/readme.md
Empty file.
20 changes: 20 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions core/code-of-conduct.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Code of Conduct


sadf
1 change: 1 addition & 0 deletions core/introduction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Introduction
7 changes: 1 addition & 6 deletions core/readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
---
noteId: "d3c311e0e6e511ee972edf2431f1c3fd"
tags: []

---

# Core Community Values and Assets
7 changes: 1 addition & 6 deletions guidelines/collaboration/readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
---
noteId: "eb819700e6e211ee972edf2431f1c3fd"
tags: []

---

# Collaboration Guidelines
7 changes: 1 addition & 6 deletions guidelines/sharing/readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
---
noteId: "eb819701e6e211ee972edf2431f1c3fd"
tags: []

---

# Sharing Guidelines
1 change: 1 addition & 0 deletions resources/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Resources
1 change: 1 addition & 0 deletions testimony/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Success Story Of Lombok Dev Member

0 comments on commit dd020aa

Please sign in to comment.