Skip to content

Commit

Permalink
Tweaks to draft branch releasing #minor
Browse files Browse the repository at this point in the history
  • Loading branch information
Bucknalla committed Aug 17, 2020
1 parent c3fcff5 commit f37a812
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 526 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/main-draft.yml → .github/workflows/draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,18 @@ jobs:
asset_path: ./root.pdf
asset_name: ${{ steps.vars.outputs.sha_short }}_draft.pdf
asset_content_type: application/pdf

build_todos:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@master"
- name: "TODO to Issue"
uses: "alstr/todo-to-issue-action@v1.3-beta"
with:
REPO: ${{ github.repository }}
BEFORE: ${{ github.event.before }}
SHA: ${{ github.sha }}
TOKEN: ${{ secrets.GITHUB_TOKEN }}
LABEL: "% TODO"
COMMENT_MARKER: "%"
id: "todo"

File renamed without changes.
2 changes: 1 addition & 1 deletion .gitmessage
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ A body which may contain several paragraphs.

It must contain footers separated by a newline

Change-type: major|minor|patch
Change-type: #major|#minor|#patch
Signed-off-by: Author <author@university.ac.uk>
9 changes: 1 addition & 8 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
all:
pdflatex -synctex=1 -interaction=nonstopmode -file-line-error -recorder -output-directory="/home/alex/GitHub/zycap-linux" "/home/alex/GitHub/zycap-linux/root.tex"
pdflatex -synctex=1 -interaction=nonstopmode -file-line-error -recorder -output-directory="." "./root.tex"

clean:
git clean -fdx

publish:
git add --force -- root.pdf
git commit -m "publish pdf"
git push

setup:
@echo "\e[35mConfiguring Git...\e[39m"
@git config --local include.path ../.gitconfig
@git checkout master
@git branch -m master release
@echo "\e[34mChecking out draft branch\e[39m"
@git checkout -b draft || true
1 change: 1 addition & 0 deletions content/background.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\section{Background}
1 change: 1 addition & 0 deletions content/conclusion.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\section{Conclusion}
1 change: 1 addition & 0 deletions content/experiments.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\section{Experiment}
2 changes: 1 addition & 1 deletion content/introduction.tex
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
\section{Introduction}

Example Introduction sentence with reference \cite{Nobody06}.
Example introduction sentence with reference \cite{Example2020}.
6 changes: 3 additions & 3 deletions references.bib
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@misc{ Nobody06,
author = "Nobody Jr",
@misc{ Example2020,
author = "Example Author",
title = "My Article",
year = "2006" }
year = "2020" }
Loading

0 comments on commit f37a812

Please sign in to comment.