Skip to content

Commit

Permalink
Initialize from code dump (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbentzon authored Jan 30, 2022
1 parent 48b7810 commit 0f0cbe6
Show file tree
Hide file tree
Showing 190 changed files with 39,525 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This is a comment.
# Each line is a file pattern followed by one or more owners.

# These owners will be the default owners for everything in
# the repo. Unless a later match takes precedence, these people will be requests a review
# review when someone opens a pull request.
* @jrbentzon
28 changes: 28 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: Bug report
about: Create a report to help us improve
title: "[BUG]"
labels: code/bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**StarCCM+ Version:**
Specify a StarCCM+ version used to reproduce this issue.

**Additional context**
Add any other context about the problem here.

21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: Feature request
about: Suggest an idea for this project
title: "[FEATURE]"
labels: code/new-feature
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.

37 changes: 37 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Build code

on:
push:
branches: [ main ]

jobs:
create_release:
name: Create Release
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/main' }}

steps:
- uses: actions/checkout@v2
- run: git fetch --prune --unshallow
- name: Create Release
env:
MAJOR_V: "0"
MINOR_V: "3"
GITHUB_TOKEN: ${{ github.token }}
run: |
set -e
providedMajor=$MAJOR_V
providedMinor=$MINOR_V
currentVersion=$(git describe --tags --abbrev=7)
currentMinor=$(echo $currentVersion | cut -d. -f2)
currentMajor=$(echo $currentVersion | cut -d. -f1 | cut -dv -f2)
if [[ $currentMajor -eq $providedMajor ]] && [[ $providedMinor -eq $currentMinor ]];
then
currentRevision=$(echo $(echo $currentVersion | rev | cut -d. -f1) | rev | cut -d- -f1)
nextRevision=$(( currentRevision + 1 ))
else
nextRevision='0'
fi
nextVersion="v$providedMajor.$providedMinor.$nextRevision"
gh release create --target main $nextVersion --generate-notes
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

# VS Code
.vscode/
Loading

0 comments on commit 0f0cbe6

Please sign in to comment.