Skip to content

Commit

Permalink
Push project files including version 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cengelha committed Oct 31, 2022
1 parent e309043 commit 97bb1f1
Show file tree
Hide file tree
Showing 43 changed files with 5,965 additions and 152 deletions.
32 changes: 0 additions & 32 deletions .github/ISSUE_TEMPLATE/bug-report.md

This file was deleted.

60 changes: 0 additions & 60 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

17 changes: 0 additions & 17 deletions .github/ISSUE_TEMPLATE/feature-request.md

This file was deleted.

15 changes: 15 additions & 0 deletions .github/changelogs/0.1.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Initial version. Supports all currently available formats by goatfungus and NMS Companion.

### Added
* Bases (goatfungus, NMS Companion, Standard)
* ByteBeat (NMS Companion, Standard)
* Companion (goatfungus, NMS Companion, Standard)
* Freighter (NMS Companion, Standard)
* Frigate (NMS Companion, Standard)
* Outfit (Standard)
* Place (NMS Companion, Standard)
* Settlement (NMS Companion, Standard)
* Squadron Pilot (NMS Companion, Standard)
* Starship (goatfungus, NMS Companion, Standard)
* Exocraft (NMS Companion, Standard)
* Multi-Tool (goatfungus, NMS Companion, Standard)
2 changes: 2 additions & 0 deletions .github/changelogs/1.0.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Version bump to 1.0 as the latest public version of NomNom integrates the current
state properly and no changes are imminent.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: nuget
directory: /
schedule:
interval: daily
1 change: 1 addition & 0 deletions .github/funding.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: "cengelha"
67 changes: 67 additions & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: libNOM.collect

on:
push

jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
env:
libNOMmap: '0.8.3'
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
# TODO: Remove when pushing libNOM.map to nuget.org
- name: Download libNOM.map
uses: Legion2/download-release-action@v2.1.0
with:
repository: zencq/libNOM.map
tag: ${{ env.libNOMmap }}
path: nupkg
file: libNOM.map.${{ env.libNOMmap }}.nupkg
# TODO: Update to 'dotnet restore' when pushing libNOM.map to nuget.org
- name: Dependencies
run: dotnet restore -s ./nupkg -s https://api.nuget.org/v3/index.json
- name: Unit Test
run: dotnet test libNOM.test --no-restore --configuration Debug --framework net6.0
- name: Pack
run: dotnet pack libNOM.collect --no-restore --configuration Release
- name: Upload
uses: actions/upload-artifact@v3
with:
name: libNOM.collect NuGet Package
path: libNOM.collect/bin/Release/libNOM.collect.*nupkg
if-no-files-found: error
release:
name: Release
runs-on: ubuntu-latest
# Only if commit was tagged.
if: ${{ startsWith(github.ref, 'refs/tags/') }}
needs: build
steps:
# Checkout again to access the changelog.
- name: Checkout
uses: actions/checkout@v3
- name: Download
uses: actions/download-artifact@v3
with:
name: libNOM.collect NuGet Package
- name: Version
run: echo "nupkg_version=$((((Get-Item -Path .\libNOM.collect.*.nupkg).Name -split '\.',3)[2] -split '\.',-2)[0])" >> $env:GITHUB_ENV
shell: pwsh
# Exit if version mismatch.
- name: Mismatch
if: ${{ github.ref_name != env.nupkg_version }}
run: |
echo "There is a version mismatch between git tag (${{ github.ref_name }}) and nupkg version (${{ env.nupkg_version }})!"
exit 1
- name: Create
uses: softprops/action-gh-release@v1
with:
body_path: ${{ github.workspace }}/.github/changelogs/${{ github.ref_name }}.md
files: libNOM.collect.*nupkg
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# CHANGELOG

All notable changes to this project will be documented in this file. It uses the
[Keep a Changelog](http://keepachangelog.com/en/1.0.0/) principles and
[Semantic Versioning](https://semver.org/).

## Unreleased

### Added
### Changed
### Deprecated
### Removed
### Fixed
### Security

## 0.1.0 (2022-10-31)

### Added
* Bases (goatfungus, NMS Companion, Standard)
* ByteBeat (NMS Companion, Standard)
* Companion (goatfungus, NMS Companion, Standard)
* Freighter (NMS Companion, Standard)
* Frigate (NMS Companion, Standard)
* Outfit (Standard)
* Place (NMS Companion, Standard)
* Settlement (NMS Companion, Standard)
* Squadron Pilot (NMS Companion, Standard)
* Starship (goatfungus, NMS Companion, Standard)
* Exocraft (NMS Companion, Standard)
* Multi-Tool (goatfungus, NMS Companion, Standard)
7 changes: 0 additions & 7 deletions Class1.cs

This file was deleted.

Loading

0 comments on commit 97bb1f1

Please sign in to comment.