Skip to content

Commit 06f2cac

Browse files
committed
feat: release 4.7.18
0 parents  commit 06f2cac

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+26740
-0
lines changed

.all-contributorsrc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"projectName": "NAVDatabase.Amx.EnovaDVX",
3+
"projectOwner": "Norgate-AV",
4+
"repoType": "github",
5+
"repoHost": "https://github.com",
6+
"files": ["README.md"],
7+
"imageSize": 100,
8+
"commit": false,
9+
"commitConvention": "angular",
10+
"contributorsPerLine": 7,
11+
"skipCi": true,
12+
"contributors": []
13+
}

.changelogrc.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"header": "Changelog",
3+
"types": [
4+
{
5+
"type": "feat",
6+
"section": "🌟 Features",
7+
"hidden": false
8+
},
9+
{
10+
"type": "fix",
11+
"section": "🐛 Bug Fixes",
12+
"hidden": false
13+
},
14+
{
15+
"type": "chore",
16+
"section": "🧰 Chores",
17+
"hidden": true
18+
},
19+
{
20+
"type": "docs",
21+
"section": "📖 Documentation",
22+
"hidden": true
23+
},
24+
{
25+
"type": "style",
26+
"section": "💅 Style",
27+
"hidden": true
28+
},
29+
{
30+
"type": "refactor",
31+
"section": "✨ Refactor",
32+
"hidden": true
33+
},
34+
{
35+
"type": "perf",
36+
"section": "🚀 Performance",
37+
"hidden": false
38+
},
39+
{
40+
"type": "test",
41+
"section": "🧪 Tests",
42+
"hidden": true
43+
},
44+
{
45+
"type": "build",
46+
"section": "🛠️ Build",
47+
"hidden": true
48+
},
49+
{ "type": "ci", "section": "🤖 CI", "hidden": true }
50+
]
51+
}

.commitlintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": ["@commitlint/config-conventional"]
3+
}

.czrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"path": "./node_modules/cz-conventional-changelog"
3+
}

.editorconfig

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
root = true
2+
3+
[*]
4+
5+
charset = utf-8
6+
end_of_line = lf
7+
insert_final_newline = true
8+
indent_style = space
9+
indent_size = tab
10+
tab_width = 4
11+
trim_trailing_whitespace = true
12+
13+
[*.{axs,axi}]
14+
15+
charset = utf-8
16+
end_of_line = lf
17+
insert_final_newline = true
18+
indent_style = space
19+
indent_size = tab
20+
tab_width = 4
21+
trim_trailing_whitespace = true
22+
23+
[*.md]
24+
25+
trim_trailing_whitespace = false
26+
27+
[*.{yml,yaml}]
28+
29+
tab_width = 2

.genlinxrc.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
build:
2+
nlrc:
3+
includePath:
4+
- ./src/include
5+
modulePath:
6+
- ./src/java
7+
- ./src/module

.gitattributes

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
# Common settings that generally should always be used with your language specific settings
2+
3+
# Auto detect text files and perform LF normalization
4+
* text=auto
5+
6+
#
7+
# The above will handle all files NOT found below
8+
#
9+
10+
# Documents
11+
*.bibtex text diff=bibtex
12+
*.doc diff=astextplain
13+
*.DOC diff=astextplain
14+
*.docx diff=astextplain
15+
*.DOCX diff=astextplain
16+
*.dot diff=astextplain
17+
*.DOT diff=astextplain
18+
*.pdf diff=astextplain
19+
*.PDF diff=astextplain
20+
*.rtf diff=astextplain
21+
*.RTF diff=astextplain
22+
*.md text diff=markdown
23+
*.mdx text diff=markdown
24+
*.tex text diff=tex
25+
*.adoc text
26+
*.textile text
27+
*.mustache text
28+
*.csv text eol=crlf
29+
*.tab text
30+
*.tsv text
31+
*.txt text
32+
*.sql text
33+
*.epub diff=astextplain
34+
35+
# Graphics
36+
*.png binary
37+
*.jpg binary
38+
*.jpeg binary
39+
*.gif binary
40+
*.tif binary
41+
*.tiff binary
42+
*.ico binary
43+
# SVG treated as text by default.
44+
*.svg text
45+
# If you want to treat it as binary,
46+
# use the following line instead.
47+
# *.svg binary
48+
*.eps binary
49+
50+
# Scripts
51+
*.bash text eol=lf
52+
*.fish text eol=lf
53+
*.sh text eol=lf
54+
*.zsh text eol=lf
55+
# These are explicitly windows files and should use crlf
56+
*.bat text eol=crlf
57+
*.cmd text eol=crlf
58+
*.ps1 text eol=crlf
59+
60+
# Serialisation
61+
*.json text
62+
*.toml text
63+
*.xml text
64+
*.yaml text
65+
*.yml text
66+
67+
# Archives
68+
*.7z binary
69+
*.gz binary
70+
*.tar binary
71+
*.tgz binary
72+
*.zip binary
73+
74+
# Text files where line endings should be preserved
75+
*.patch -text
76+
77+
#
78+
# Exclude files from exporting
79+
#
80+
81+
.gitattributes export-ignore
82+
.gitignore export-ignore
83+
.gitkeep export-ignore
84+
85+
*.jar binary
86+
*.TP4 filter=lfs diff=lfs merge=lfs -text
87+
*.TP5 filter=lfs diff=lfs merge=lfs -text

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"

.github/workflows/main.yml

Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [master]
6+
7+
pull_request:
8+
branches: [master]
9+
10+
workflow_dispatch:
11+
12+
defaults:
13+
run:
14+
shell: pwsh
15+
16+
jobs:
17+
build-and-release:
18+
name: Build & Release
19+
20+
runs-on: [self-hosted, windows, server]
21+
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@v4
25+
with:
26+
fetch-depth: 0
27+
persist-credentials: false
28+
29+
- name: Show Environment
30+
run: |
31+
$PSVersionTable
32+
$pwd
33+
Write-Host Path:
34+
$env:PATH
35+
Write-Host
36+
Write-Host whoami:
37+
whoami
38+
Write-Host
39+
Write-Host Default Environment Variables:
40+
Write-Host "CI: $env:CI"
41+
Write-Host "GITHUB_ACTION: $env:GITHUB_ACTION"
42+
Write-Host "GITHUB_ACTION_PATH: $env:GITHUB_ACTION_PATH"
43+
Write-Host "GITHUB_ACTION_REPOSITORY: $env:GITHUB_ACTION_REPOSITORY"
44+
Write-Host "GITHUB_ACTIONS: $env:GITHUB_ACTIONS"
45+
Write-Host "GITHUB_ACTOR: $env:GITHUB_ACTOR"
46+
Write-Host "GITHUB_ACTOR_ID: $env:GITHUB_ACTOR_ID"
47+
Write-Host "GITHUB_API_URL: $env:GITHUB_API_URL"
48+
Write-Host "GITHUB_BASE_REF: $env:GITHUB_BASE_REF"
49+
Write-Host "GITHUB_ENV: $env:GITHUB_ENV"
50+
Write-Host "GITHUB_EVENT_NAME: $env:GITHUB_EVENT_NAME"
51+
Write-Host "GITHUB_EVENT_PATH: $env:GITHUB_EVENT_PATH"
52+
Write-Host "GITHUB_GRAPHQL_URL: $env:GITHUB_GRAPHQL_URL"
53+
Write-Host "GITHUB_HEAD_REF: $env:GITHUB_HEAD_REF"
54+
Write-Host "GITHUB_JOB: $env:GITHUB_JOB"
55+
Write-Host "GITHUB_PATH: $env:GITHUB_PATH"
56+
Write-Host "GITHUB_REF: $env:GITHUB_REF"
57+
Write-Host "GITHUB_REF_NAME: $env:GITHUB_REF_NAME"
58+
Write-Host "GITHUB_REF_PROTECTED: $env:GITHUB_REF_PROTECTED"
59+
Write-Host "GITHUB_REF_TYPE: $env:GITHUB_REF_TYPE"
60+
Write-Host "GITHUB_REPOSITORY: $env:GITHUB_REPOSITORY"
61+
Write-Host "GITHUB_REPOSITORY_ID: $env:GITHUB_REPOSITORY_ID"
62+
Write-Host "GITHUB_REPOSITORY_OWNER: $env:GITHUB_REPOSITORY_OWNER"
63+
Write-Host "GITHUB_REPOSITORY_OWNER_ID: $env:GITHUB_REPOSITORY_OWNER_ID"
64+
Write-Host "GITHUB_RETENTION_DAYS: $env:GITHUB_RETENTION_DAYS"
65+
Write-Host "GITHUB_RUN_ATTEMPT: $env:GITHUB_RUN_ATTEMPT"
66+
Write-Host "GITHUB_RUN_ID: $env:GITHUB_RUN_ID"
67+
Write-Host "GITHUB_RUN_NUMBER: $env:GITHUB_RUN_NUMBER"
68+
Write-Host "GITHUB_SERVER_URL: $env:GITHUB_SERVER_URL"
69+
Write-Host "GITHUB_SHA: $env:GITHUB_SHA"
70+
Write-Host "GITHUB_STEP_SUMMARY: $env:GITHUB_STEP_SUMMARY"
71+
Write-Host "GITHUB_WORKFLOW: $env:GITHUB_WORKFLOW"
72+
Write-Host "GITHUB_WORKFLOW_REF: $env:GITHUB_WORKFLOW_REF"
73+
Write-Host "GITHUB_WORKFLOW_SHA: $env:GITHUB_WORKFLOW_SHA"
74+
Write-Host "GITHUB_WORKSPACE: $env:GITHUB_WORKSPACE"
75+
Write-Host "RUNNER_ARCH: $env:RUNNER_ARCH"
76+
Write-Host "RUNNER_DEBUG: $env:RUNNER_DEBUG"
77+
Write-Host "RUNNER_NAME: $env:RUNNER_NAME"
78+
Write-Host "RUNNER_OS: $env:RUNNER_OS"
79+
Write-Host "RUNNER_TEMP: $env:RUNNER_TEMP"
80+
Write-Host "RUNNER_TOOL_CACHE: $env:RUNNER_TOOL_CACHE"
81+
82+
- name: Setup PNPM
83+
uses: pnpm/action-setup@v4
84+
with:
85+
version: latest
86+
87+
- name: Setup Node.js
88+
id: setup-node
89+
uses: actions/setup-node@v4
90+
with:
91+
node-version-file: ".nvmrc"
92+
cache: pnpm
93+
94+
- name: Update Global Node.js
95+
run: |
96+
fnm install ${{ steps.setup-node.outputs.node-version }}
97+
fnm use ${{ steps.setup-node.outputs.node-version }}
98+
99+
- name: Install
100+
run: |
101+
pnpm install --frozen-lockfile
102+
103+
- name: Build
104+
run: ./build.ps1
105+
106+
- name: Release
107+
id: release
108+
if: github.ref == 'refs/heads/master'
109+
110+
# v4 doesn't seem to be working, so using a specific commit for now
111+
uses: cycjimmy/semantic-release-action@v4 # 6d88447fcd3237e1d617f4f663e5ad79a6bf45b1
112+
with:
113+
extra_plugins: |
114+
@semantic-release/changelog
115+
@semantic-release/exec
116+
@semantic-release/git
117+
conventional-changelog-conventionalcommits
118+
env:
119+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
120+
121+
# - name: Show Release Output Values
122+
# if: github.ref == 'refs/heads/master'
123+
# run: |
124+
# Write-Host "New Release Published: ${{ steps.release.outputs.new_release_published }}"
125+
# Write-Host "New Release Version: ${{ steps.release.outputs.new_release_version }}"
126+
# Write-Host "New Release Major Version: ${{ steps.release.outputs.new_release_major_version }}"
127+
# Write-Host "New Release Minor Version: ${{ steps.release.outputs.new_release_minor_version }}"
128+
# Write-Host "New Release Patch Version: ${{ steps.release.outputs.new_release_patch_version }}"
129+
# Write-Host "New Release Channel: ${{ steps.release.outputs.new_release_channel }}"
130+
# Write-Host "New Release Notes: ${{ steps.release.outputs.new_release_notes }}"
131+
# Write-Host "New Release Git Head: ${{ steps.release.outputs.new_release_git_head }}"
132+
# Write-Host "New Release Git Tag: ${{ steps.release.outputs.new_release_git_tag }}"
133+
# Write-Host "Last Release Version: ${{ steps.release.outputs.last_release_version }}"
134+
# Write-Host "Last Release Git Head: ${{ steps.release.outputs.last_release_git_head }}"
135+
# Write-Host "Last Release Git Tag: ${{ steps.release.outputs.last_release_git_tag }}"
136+
137+
- name: Wait before Dispatch
138+
if: ${{ github.ref == 'refs/heads/master' && steps.release.outputs.new_release_published == 'true' }}
139+
run: Start-Sleep -Seconds 30
140+
141+
- name: Dispatch Scoop Excavator
142+
if: ${{ github.ref == 'refs/heads/master' && steps.release.outputs.new_release_published == 'true' }}
143+
uses: peter-evans/repository-dispatch@v3
144+
with:
145+
token: ${{ secrets.SCOOP_NORGATEAV_AMX }}
146+
repository: norgate-av/scoop-norgateav-amx
147+
event-type: excavate
148+
client-payload: |-
149+
{
150+
"repo": {
151+
"name": "${{ github.repository }}",
152+
"owner": "${{ github.repository_owner }}",
153+
"ref": "${{ github.ref }}",
154+
"sha": "${{ steps.release.outputs.new_release_git_head }}",
155+
"tag": "${{ steps.release.outputs.new_release_git_tag }}"
156+
}
157+
}

0 commit comments

Comments
 (0)